From 42c2281a0d039f996428a9e179c8c19efea59365 Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Fri, 27 Feb 2004 14:37:42 +0000 Subject: [PATCH] Dont utf7_decode translated INBOX name, which is html encoded git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6672 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index 8b062421..6a279599 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -37,14 +37,12 @@ function sqm_baseuri(){ function error_message($message, $mailbox, $sort, $startMessage, $color) { $urlMailbox = urlencode($mailbox); - if (strtoupper($mailbox) == 'INBOX') - $mailbox = _("INBOX"); $string = '' . $message . ''."\n". ''. '" . - sprintf (_("Click here to return to %s"), imap_utf7_decode_local($mailbox)) . + sprintf (_("Click here to return to %s"), strtoupper($mailbox) == 'INBOX' ? _("INBOX") : imap_utf7_decode_local($mailbox)) . ''; error_box($string, $color); } -- 2.25.1