Bugfix - UTF7 was being displayed to user
authoravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 27 Jan 2004 15:48:14 +0000 (15:48 +0000)
committeravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 27 Jan 2004 15:48:14 +0000 (15:48 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6449 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/display_messages.php

index 2e26932..74c8385 100644 (file)
@@ -44,7 +44,7 @@ function error_message($message, $mailbox, $sort, $startMessage, $color) {
                   '<A HREF="' . sqm_baseuri() 
                   . "src/right_main.php?sort=$sort&amp;startMessage=$startMessage"
                   . "&amp;mailbox=$urlMailbox\">" .
-    sprintf (_("Click here to return to %s"), $mailbox) .
+    sprintf (_("Click here to return to %s"), imap_utf7_decode_local($mailbox)) .
            '</A></td></tr>';
     error_box($string, $color);
 }