From cbd55894be269508ec82c6dfbe75be74057cd4f7 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 21 Apr 2000 03:33:22 +0000 Subject: [PATCH] fixed uw bug with folder deleting with a delimeter at the end git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@448 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- BUG | 6 +++--- functions/imap_mailbox.php | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/BUG b/BUG index b47df8f3..e38f91f9 100644 --- a/BUG +++ b/BUG @@ -1,9 +1,6 @@ Known BUGS to be fixed before 0.4pre1: - LDAP preferences in conf.pl are not working. - - Next/Previous while viewing a message should take into account - the way that the mailbox is sorted. Right now, it just does it - by the next message id. - If a new message comes in while still browsing cached message list, the space is allocated, but it is blank. (lme) I'm not convinced that the cache gets deleted all the time. I'll @@ -15,6 +12,9 @@ Known BUGS to be fixed before 0.4pre1: --SQUASHED-- +(lme) Next/Previous while viewing a message should take into account + the way that the mailbox is sorted. Right now, it just does it + by the next message id. (lme) Special folders don't get listed at the top of folder list (lme) The icon for message sorting doesn't always stay. It usually reverts back to the date. diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 2b0ce28a..ecb5dd24 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -118,7 +118,12 @@ if ($flags) { $boxes[$g]["flags"] = explode(" ", $flags); } - + for ($i=0; $i < count($boxes[$g]["flags"]); $i++) { + if ($boxes[$g]["flags"][$i] == "noselect") { + $boxes[$g]["unformatted-dm"] = $boxes[$g]["unformatted-dm"].$dm; + echo $boxes[$g]["unformatted-dm"]." - debug
"; + } + } } return $boxes; } -- 2.25.1