X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fheader.php;h=dee383f81f02d002d3444f3ea09a2238bfabef7e;hp=7c2f8534ac034d3963630768e5f6d2fcb055c56a;hb=14958a98e5119a7088b84e80e05908efa9bea760;hpb=272c5303101aa273b1d8ae5435acdd8de5aec8d8 diff --git a/inc/header.php b/inc/header.php index 7c2f8534ac..dee383f81f 100644 --- a/inc/header.php +++ b/inc/header.php @@ -50,7 +50,7 @@ if (($header != "1") && ($header != "2")) { // Add title decorations? (left) if (!defined('__PAGE_TITLE')) { - if ((count($_CONFIG) > 1) && (is_resource($link)) && (!is_resource($db))) { + if ((count($_CONFIG) > 1) && (is_resource($link)) && (isset($db))) { if (($_CONFIG['title_decoration'] == 'Y') && (trim(!empty($_CONFIG['title_left'])))) $TITLE .= trim($_CONFIG['title_left'])." "; $TITLE .= MAIN_TITLE;