From 9640af331bc3d21c0373266f6348f109a0ee250f Mon Sep 17 00:00:00 2001 From: kink Date: Sun, 8 Sep 2002 13:37:02 +0000 Subject: [PATCH] Better error messages: for some reason, the strings weren't used to report the error? Now they are. This eliminates a subset of the "You must be logged in.." error messages by giving the admin a clue as to what's going wrong. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3614 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redirect.php b/src/redirect.php index 31b73adf..91addea8 100644 --- a/src/redirect.php +++ b/src/redirect.php @@ -88,7 +88,7 @@ if (!session_is_registered('user_is_logged_in')) { $errString = $errTitle . "
\n". _("Contact your administrator for help."); include_once( '../functions/display_messages.php' ); - logout_error( _("You must be logged in to access this page.") ); + logout_error( $errString, $errTitle ); exit; } else { $sqimap_capabilities = sqimap_capability($imapConnection); -- 2.25.1