From e4b08e9626293f0869484615ed18ce488fce5fa9 Mon Sep 17 00:00:00 2001 From: kink Date: Fri, 11 Feb 2005 14:55:23 +0000 Subject: [PATCH] Missing global $color in logout_error() git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8843 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index 629cf012..c70a78b6 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -57,7 +57,7 @@ function plain_error_message($message, $color) { function logout_error( $errString, $errTitle = '' ) { global $frame_top, $org_logo, $org_name, $org_logo_width, $org_logo_height, - $hide_sm_attributions, $version, $squirrelmail_language; + $hide_sm_attributions, $version, $squirrelmail_language, $color; $base_uri = sqm_baseuri(); @@ -79,7 +79,6 @@ 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 */ @@ -178,4 +177,4 @@ function error_option_save($message) { $optpage_save_error=array_merge($optpage_save_error,array($message)); } // vim: et ts=4 -?> \ No newline at end of file +?> -- 2.25.1