]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-overview.php
Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / modules / admin / what-overview.php
index 9176b32204b276a1f5776ca0d4c6c514b28c5a20..7678500b9cbe9643c9190b2f8003cdae84b24c94 100644 (file)
@@ -64,7 +64,7 @@ if ($GLOBALS['action'] == "login") {
 } // END - if
 
 // Are we in 'welcome' page and are there jobs to be done?
-if ($GLOBALS['action'] != "login") {
+if (!ifAdminMenuHasEntries($GLOBALS['action'])) {
        // This menu is empty and so no content is displayed
        LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('ADMIN_MENU_IS_EMPTY'), $GLOBALS['action']));
 } elseif ($jobsDone === true) {