X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fheader.php;h=dee383f81f02d002d3444f3ea09a2238bfabef7e;hb=c5fbd4afb0965d5f3b504d0547e60affb51d52c7;hp=7c2f8534ac034d3963630768e5f6d2fcb055c56a;hpb=011e5e7b4a6eff28aea4f30bc87fbf3ac5161612;p=mailer.git 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;