mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix warnings in PHP 8.0
This commit is contained in:
parent
25a4a3b348
commit
9732290515
2 changed files with 7 additions and 4 deletions
|
|
@ -707,7 +707,10 @@ class documentModel extends document
|
|||
|
||||
// Cleanup of category
|
||||
$document_category = array();
|
||||
self::_arrangeCategory($document_category, $menu->list, 0);
|
||||
if (isset($menu) && isset($menu->list))
|
||||
{
|
||||
self::_arrangeCategory($document_category, $menu->list, 0);
|
||||
}
|
||||
return $document_category;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue