mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
fix menu php warning when restoring default menu (#7219)
This commit is contained in:
@@ -445,6 +445,7 @@ if (!class_exists('menu')) {
|
||||
|
||||
//item exists in the database
|
||||
if ($menu_item_exists) {
|
||||
$parent_menu_item_protected = 'false';
|
||||
//get parent_menu_item_protected
|
||||
foreach ($menu_items as $item) {
|
||||
if ($item['uuid'] == $menu['parent_uuid']) {
|
||||
|
||||
Reference in New Issue
Block a user