From 8b522a59d2f40c73f29ef5b3fe5f74fdc699bada Mon Sep 17 00:00:00 2001 From: oricn Date: Thu, 27 Apr 2000 21:28:13 +0000 Subject: [PATCH] Added a quick fix for th gettext _ function as page_header.php3 is not needed in signout so the function _ doesn't exist if they don't have get text git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@467 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/signout.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/signout.php b/src/signout.php index 6d3b8cb1..d3b542d8 100644 --- a/src/signout.php +++ b/src/signout.php @@ -7,7 +7,14 @@ ** Clears the cookie, and logs them out. ** **/ - + + // Quick Fix for Gettext in LogOut Screen +if (!function_exists("_")) { + function _($string) { + return $string; + } + } + // $squirrelmail_language is set by a cookie when the user // selects language if (isset($squirrelmail_language)) { -- 2.25.1