diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index 1bcc4d9ec..c82623391 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -448,7 +448,7 @@ $tab = 1; $view = $myPage['name']; $pages = []; if (isset($myPage['text'])) $pages[$view] = $myPage; -if (isset($myPage['Type']) && $myPage['Type']=='xmenu') $pages = array_merge($pages, find_pages($view)); +if (($myPage['Type'] ?? '') == 'xmenu') $pages = array_merge($pages, find_pages($view)); if (isset($myPage['Tabs'])) $display['tabs'] = strtolower($myPage['Tabs'])=='true' ? 0 : 1; $tabbed = $display['tabs']==0 && count($pages)>1;