PHP7.2 count 관련 워닝에러를 고침.

This commit is contained in:
BJRambo 2018-01-24 16:26:57 +09:00
parent 8dd447bc15
commit f2d2867069
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ class moduleAdminModel extends module
$grantList->access = new stdClass();
$grantList->access->title = lang('grant_access');
$grantList->access->default = 'guest';
if(count($grantList))
if(countobj($grantList))
{
foreach($grantList as $key => $val)
{