From bd27b70be4a4715b2e2f3878c256f6bf99997361 Mon Sep 17 00:00:00 2001 From: kink Date: Wed, 25 Feb 2004 14:38:05 +0000 Subject: [PATCH] Fix the display of a subfolder "foo.inbox" aswell. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6662 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + functions/imap_mailbox.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2c07d623..92ca4197 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ Version 1.5.1 -- CVS as separate plugin. - Added Farsi and Tagalog translation support. - Enabled Ukrainian and Russian-Ukrainian support + - Fix that subfolders named "foo.inbox" didn't always work well. Version 1.5.0 diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 8d5b957e..768cc8c2 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -979,7 +979,7 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false,$imap_stream) { } function sqimap_utf7_decode_mbx_tree(&$mbx_tree) { - if (strtoupper($mbx_tree->mailboxname_sub) == 'INBOX') + if (strtoupper($mbx_tree->mailboxname_full) == 'INBOX') $mbx_tree->mailboxname_sub = _("INBOX"); else $mbx_tree->mailboxname_sub = imap_utf7_decode_local($mbx_tree->mailboxname_sub); -- 2.25.1