fix commonobject isInt for module builder capabilities
This commit is contained in:
parent
1e4dd72c23
commit
b370a3096c
@ -6203,7 +6203,7 @@ abstract class CommonObject
|
|||||||
{
|
{
|
||||||
if(is_array($info))
|
if(is_array($info))
|
||||||
{
|
{
|
||||||
if(isset($info['type']) && ($info['type']=='int' || $info['type']=='integer' )) return true;
|
if(isset($info['type']) && ($info['type']=='int' || preg_match('/^integer/i',$info['type']) ) ) return true;
|
||||||
else return false;
|
else return false;
|
||||||
}
|
}
|
||||||
else return false;
|
else return false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user