X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fheader.php;h=aa9f78a6b7d9994a39f8c55aa04e1539bab01997;hb=b7c28074ad5f8674f59f454f80703b97600897cb;hp=704ffd2cff6da6418f266085c34ddab7f9e1b7e7;hpb=a08a18cb10bf48d96fb938107113e0965af351bc;p=mailer.git diff --git a/inc/header.php b/inc/header.php index 704ffd2cff..aa9f78a6b7 100644 --- a/inc/header.php +++ b/inc/header.php @@ -55,7 +55,9 @@ if (($header != "1") && ($header != "2")) { $TITLE .= MAIN_TITLE; // Add title of module? (middle decoration will also be added!) - if (($_CONFIG['enable_mod_title'] == 'Y') || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == "admin")) $TITLE .= " ".trim($_CONFIG['title_middle'])." ".ADD_MODULE_TITLE($GLOBALS['module']); + if (isset($_CONFIG['enable_mod_title'])) { + if (($_CONFIG['enable_mod_title'] == 'Y') || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == "admin")) $TITLE .= " ".trim($_CONFIG['title_middle'])." ".ADD_MODULE_TITLE($GLOBALS['module']); + } // END - if // Add title from what file $MODE = "";