mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-15 00:12:43 +09:00
Clean up usage of is_countable()
This commit is contained in:
parent
67a9aba082
commit
494e0ee028
8 changed files with 10 additions and 14 deletions
|
|
@ -967,8 +967,7 @@ class moduleController extends module
|
|||
{
|
||||
$this->deleteModuleExtraVars($module_srl);
|
||||
getDestroyXeVars($obj);
|
||||
if(!$obj || !is_countable($obj)) return;
|
||||
if(!count($obj)) return;
|
||||
if(!$obj || !is_countable($obj) || !count($obj)) return;
|
||||
|
||||
foreach($obj as $key => $val)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue