Fixed a bug in the module database patcher
This commit is contained in:
parent
e6a4913d05
commit
c8e2903766
@ -1166,7 +1166,7 @@ class module
|
|||||||
$t_s = $arr_field["$key"]["type"];
|
$t_s = $arr_field["$key"]["type"];
|
||||||
if(ereg('[(]',$t_s))
|
if(ereg('[(]',$t_s))
|
||||||
{
|
{
|
||||||
$ts = explode('[(]',$t_s);
|
$ts = explode('(',$t_s);
|
||||||
$type = $ts[0];
|
$type = $ts[0];
|
||||||
$size = ereg_replace(')', '', $ts[1]);
|
$size = ereg_replace(')', '', $ts[1]);
|
||||||
$flds[] = Array($field, $type, $size);
|
$flds[] = Array($field, $type, $size);
|
||||||
|
Reference in New Issue
Block a user