mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +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
|
// if have a child menu, copy child menu also
|
||||||
$childMenu = array_shift($originMenu['list']);
|
$childMenu = array_shift($originMenu['list']);
|
||||||
if(count($childMenu) > 0)
|
if($childMenu)
|
||||||
{
|
{
|
||||||
$this->_copyMenu($menuSrl, $insertedMenuItemSrl, $childMenu);
|
$this->_copyMenu($menuSrl, $insertedMenuItemSrl, $childMenu);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue