mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix count() error in PHP 8.0
This commit is contained in:
parent
dc0aafce66
commit
2c48e345d1
1 changed files with 2 additions and 2 deletions
|
|
@ -1044,11 +1044,11 @@ class moduleController extends module
|
|||
function insertModuleGrants($module_srl, $obj)
|
||||
{
|
||||
$this->deleteModuleGrants($module_srl);
|
||||
if(!$obj || !count($obj)) return;
|
||||
if(!$obj || !countobj($obj)) return;
|
||||
|
||||
foreach($obj as $name => $val)
|
||||
{
|
||||
if(!$val || !count($val)) continue;
|
||||
if(!$val || !countobj($val)) continue;
|
||||
|
||||
foreach($val as $group_srl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue