projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Obsolete function is_SQLwriteable() removed (never used) and code-cosmetics.
[mailer.git]
/
inc
/
header.php
diff --git
a/inc/header.php
b/inc/header.php
index 4f3f2a4e754f7253abd633148d289deb21ff7671..59a2f5b24d1ee90d9c245ba8596c8db1da616810 100644
(file)
--- a/
inc/header.php
+++ b/
inc/header.php
@@
-49,7
+49,7
@@
if (($header != "1") && ($header != "2")) {
$TITLE = "";
// Add title decorations? (left)
$TITLE = "";
// Add title decorations? (left)
- if ((
!empty($CONFIG)) && (isset($link)) && (isset($db))
) {
+ if ((
count($CONFIG) > 1) && (is_resource($link)) && ($db) !== false
) {
if (($CONFIG['title_decoration'] == 'Y') && (trim(!empty($CONFIG['title_left'])))) $TITLE .= trim($CONFIG['title_left'])." ";
$TITLE .= MAIN_TITLE;
if (($CONFIG['title_decoration'] == 'Y') && (trim(!empty($CONFIG['title_left'])))) $TITLE .= trim($CONFIG['title_left'])." ";
$TITLE .= MAIN_TITLE;