From c8e290376608cc7c0ad9cc75d61135ac8968eab3 Mon Sep 17 00:00:00 2001 From: sluther Date: Fri, 7 Aug 2009 20:46:15 -0700 Subject: [PATCH] Fixed a bug in the module database patcher --- modules/module/module.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/module/module.inc.php b/modules/module/module.inc.php index 36c45630..fb090dd2 100644 --- a/modules/module/module.inc.php +++ b/modules/module/module.inc.php @@ -1166,7 +1166,7 @@ class module $t_s = $arr_field["$key"]["type"]; if(ereg('[(]',$t_s)) { - $ts = explode('[(]',$t_s); + $ts = explode('(',$t_s); $type = $ts[0]; $size = ereg_replace(')', '', $ts[1]); $flds[] = Array($field, $type, $size);