mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Revert "Fix #1966 Fix warning in PHP8.0"
This reverts commit 5fb72a995b.
This commit is contained in:
parent
5fb72a995b
commit
93c631daf1
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class layoutAdminController extends layout
|
|||
if($layout_info->menu)
|
||||
{
|
||||
$menus = get_object_vars($layout_info->menu);
|
||||
foreach($menus ?? [] as $menu_id => $val)
|
||||
foreach($menus ?: [] as $menu_id => $val)
|
||||
{
|
||||
$menu_srl = Context::get($menu_id);
|
||||
if(!$menu_srl) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue