mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix possibility of empty $new_menu_srl in updateLinkModule()
This commit is contained in:
parent
dd4d04f409
commit
a56734d4f5
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ class MenuAdminController extends Menu
|
||||||
|
|
||||||
$output = executeQuery('menu.getMenuItemByUrl', $args);
|
$output = executeQuery('menu.getMenuItemByUrl', $args);
|
||||||
|
|
||||||
if($output->toBool() && $output->data)
|
if($output->toBool() && $output->data && $output->data->menu_srl)
|
||||||
{
|
{
|
||||||
$new_menu_srl = $output->data->menu_srl;
|
$new_menu_srl = $output->data->menu_srl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue