Fix strict count() behavior in PHP 7.2

This commit is contained in:
Kijin Sung 2017-12-01 01:49:20 +09:00
parent 6f35f5bafc
commit 3992b4b5bc
6 changed files with 8 additions and 9 deletions

View file

@ -527,7 +527,7 @@ class editorModel extends editor
$group_list = array();
}
if(count($component_list))
if(countobj($component_list))
{
foreach($component_list as $key => $val)
{