From 118eb9a49c23de202d2a56db287242cd12df08a3 Mon Sep 17 00:00:00 2001 From: tokul Date: Thu, 9 Dec 2004 15:16:02 +0000 Subject: [PATCH] language must be set before using gettext functions git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8429 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/signout.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/signout.php b/src/signout.php index 7088c7c9..748eaf8b 100644 --- a/src/signout.php +++ b/src/signout.php @@ -76,6 +76,9 @@ if ($signout_page) { header("Location: $signout_page"); exit; /* we send no content if we're redirecting. */ } + +/* internal gettext functions will fail, if language is not set */ +set_up_language($squirrelmail_language, true, true); ?> -- 2.25.1