diff --git a/e107_admin/menus.php b/e107_admin/menus.php index 1d5e78cb9..1fb39bdaf 100644 --- a/e107_admin/menus.php +++ b/e107_admin/menus.php @@ -39,7 +39,7 @@ require_once("../class2.php"); if(e_MENUMANAGER_ACTIVE === false ) { - if(e_DEBUG_MENUMANAGER === true) + if(!deftrue("e_DEBUG_MENUMANAGER")) { e107::css('inline', ' @@ -701,7 +701,7 @@ if($_SERVER['E_DEV_MENU'] == 'true') function e_help() { - if(e_DEBUG_MENUMANAGER !== true) + if(deftrue("e_DEBUG_MENUMANAGER")) { return null; } diff --git a/e107_handlers/menumanager_class.php b/e107_handlers/menumanager_class.php index edb8d881e..7fc50588b 100644 --- a/e107_handlers/menumanager_class.php +++ b/e107_handlers/menumanager_class.php @@ -1256,7 +1256,7 @@ class e_menuManager { $text .= ""; } // $ns -> tablerender(MENLAN_22.'blabla', $text); - if(e_DEBUG_MENUMANAGER === true) + if(!deftrue("e_DEBUG_MENUMANAGER")) { echo "
"; } diff --git a/e107_languages/English/admin/help/menus.php b/e107_languages/English/admin/help/menus.php index 1a5f35a90..da1348d44 100644 --- a/e107_languages/English/admin/help/menus.php +++ b/e107_languages/English/admin/help/menus.php @@ -16,7 +16,7 @@ if (!getperms("2")) exit; } -if(e_DEBUG_MENUMANAGER === true) +if(!deftrue("e_DEBUG_MENUMANAGER")) { return; }