From f0728a9d8d9c2fa3358a297240896143549d9ebb Mon Sep 17 00:00:00 2001 From: Tim Buckingham Date: Thu, 28 May 2015 13:58:51 -0400 Subject: [PATCH] Fixed corrupted module forms when importing a package or extension. Thanks jmason03 and visconti on the forums. --- core/inc/bigtree/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/inc/bigtree/admin.php b/core/inc/bigtree/admin.php index 9fe45fe63..33a3930c1 100755 --- a/core/inc/bigtree/admin.php +++ b/core/inc/bigtree/admin.php @@ -1034,7 +1034,7 @@ function createModuleForm($module,$title,$table,$fields,$hooks = array(),$defaul $clean_fields = array(); foreach ($fields as $key => $data) { $field = array( - "column" => $key, + "column" => $data["column"] ? $data["column"] : $key, "type" => BigTree::safeEncode($data["type"]), "title" => BigTree::safeEncode($data["title"]), "subtitle" => BigTree::safeEncode($data["subtitle"]),