is_countable?!

This commit is contained in:
Min-Soo Kim 2020-06-07 22:56:21 +09:00
parent 43fe12af13
commit a641b3103a
10 changed files with 39 additions and 14 deletions

View file

@ -967,7 +967,8 @@ class moduleController extends module
{
$this->deleteModuleExtraVars($module_srl);
getDestroyXeVars($obj);
if(!$obj || !count($obj)) return;
if(!$obj || !is_countable($obj)) return;
if(!count($obj)) return;
foreach($obj as $key => $val)
{