mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #1758 count() error in PHP 8.0
This commit is contained in:
parent
9127e17b2e
commit
f5b03916d8
1 changed files with 1 additions and 1 deletions
|
|
@ -1312,7 +1312,7 @@ class menuAdminController extends menu
|
|||
|
||||
// if have a child menu, copy child menu also
|
||||
$childMenu = array_shift($originMenu['list']);
|
||||
if(count($childMenu) > 0)
|
||||
if($childMenu)
|
||||
{
|
||||
$this->_copyMenu($menuSrl, $insertedMenuItemSrl, $childMenu);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue