mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
Fix miscellaneous errors in PHP 8.0
https://xetown.com/questions/1494606
This commit is contained in:
parent
7e54b3add5
commit
198bb1b079
4 changed files with 14 additions and 6 deletions
|
|
@ -1323,7 +1323,7 @@ class menuAdminController extends menu
|
|||
$target->node = $srl;
|
||||
$target->child= array();
|
||||
|
||||
while(count($this->map[$srl]))
|
||||
while(count($this->map[$srl] ?? []))
|
||||
{
|
||||
$this->_setParent($srl, array_shift($this->map[$srl]), $target);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue