From c4ea392c26d334e154510fb1d635252d5310e367 Mon Sep 17 00:00:00 2001 From: jervfors Date: Tue, 28 Sep 2004 04:54:07 +0000 Subject: [PATCH 1/1] Always display $org_name in the title git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8082 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index 963f48f5..9f9d4774 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -79,6 +79,7 @@ function logout_error( $errString, $errTitle = '' ) { $frame_top = '_top'; } + // Since $color never is set, this is always true if ( !isset( $color ) ) { $color = array(); $color[0] = '#dcdcdc'; /* light gray TitleBar */ @@ -92,11 +93,11 @@ function logout_error( $errString, $errTitle = '' ) { list($junk, $errString, $errTitle) = do_hook('logout_error', $errString, $errTitle); if ( $errTitle == '' ) { - $errTitle = $org_name . ' - ' . $errString; + $errTitle = $errString; } set_up_language($squirrelmail_language, true); - displayHtmlHeader( $errTitle, '', false ); + displayHtmlHeader( $org_name.' - '.$errTitle, '', false ); echo '\n\n". '
'; -- 2.25.1