[dev] Re: [cvs] commit: imp/lib Folder.php

Chris chris at jeks.net
Wed Jan 8 11:39:45 PST 2003


Put the line:

 !array_key_exists($prefix . $namespace . $parent, $list) &&

back in.

cvs diff -u lib/Folder.php
Index: lib/Folder.php
===================================================================
RCS file: /repository/imp/lib/Folder.php,v
retrieving revision 1.89
diff -u -r1.89 Folder.php
--- lib/Folder.php      8 Jan 2003 03:35:23 -0000       1.89
+++ lib/Folder.php      8 Jan 2003 19:38:33 -0000
@@ -199,6 +199,7 @@
                             $parent = implode($delimiter, $parentparts);
                             if (!empty($parent) && ($parent != 'INBOX') &&
                                 !array_key_exists($parent, $list) &&
+                                !array_key_exists($prefix . $namespace . $parent, $list) &&
                                 !array_key_exists($parent, $parents)) {
                                 $parents[$parent] = 1;
                                 $plabel = str_repeat(' ', 4 * (count($parentparts) - 1)) . imap_utf7_decode($parts[count($parentparts) - 1]) . $delimiter;



On Wed, Jan 08, 2003 at 12:12:04PM -0500, Chuck Hagenbuch wrote:
> Quoting Jan Schneider <jan at horde.org>:
> 
> > This broke things again with Cyrus. When I have a valid mailbox (opposed
> > to a container) that contains other mailboxes, this mailbox now appears
> > twice in the drop down list. Once as the mailbox and once as a container 
> > (with a trailing dot).
> 
> Can you tell which check I removed broke it?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck at horde.org>
> must ... find ... acorns ... *thud*
> 
> -- 
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org

-- 
~ ~ ~
Chris Hyde

"It is easy to be blinded to the essential uselessness of computers by
the sense of accomplishment you get from getting them to work at all."
 - Douglas Adams

~ ~ ~


More information about the dev mailing list