fix menu php warning when restoring default menu (#7219)

This commit is contained in:
frytimo 2025-01-17 16:39:17 -04:00 committed by GitHub
parent 50125527de
commit 62039c300a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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']) {