[Tickets #5767] Subfolders not shown in IMP

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Oct 4 07:20:31 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5767
-----------------------------------------------------------------------
 Ticket             | 5767
 Created By         | net at ac-nantes.fr
 Summary            | Subfolders not shown in IMP
 Queue              | IMP
 Version            | 4.1.4-RC1
 Type               | Bug
 State              | Unconfirmed
 Priority           | 3. High
 Owners             | 
-----------------------------------------------------------------------


net at ac-nantes.fr (2007-10-04 00:20) wrote:

Subfolders are not shown in IMP : in the left window and in "folders" 
tab.
The following modification in $HORDE/lib/Horde/IMAP/Tree.php permit the
display of subfolders.
Thank you to apply this patch if it is correct...
For information, this bug was blocking the deployment of horde in our
system.
Guy Paressant
Rectorat de Nantes - France

diff -u /usr/share/horde3/lib/Horde/IMAP/Tree.php.001
/usr/share/horde3/lib/Horde/IMAP/Tree.php
--- /usr/share/horde3/lib/Horde/IMAP/Tree.php.001       2007-05-22
11:39:35.000000000 +0200
+++ /usr/share/horde3/lib/Horde/IMAP/Tree.php   2007-10-04
08:41:37.000000000 +0200
@@ -1092,7 +1092,7 @@
             /* Not all IMAP servers support the HASCHILDREN flag (like
UW!) so
              * we need to skip this check if the IMAP server doesn't set
              * either HASCHILDREN or HASNOCHILDREN. */
-            if (!empty($this->_childrensupport) ||
+            if (empty($this->_childrensupport) ||
                 (is_null($this->_childrensupport) &&
                  ($elt['a'] & LATT_HASCHILDREN) ||
                  ($elt['a'] & LATT_HASNOCHILDREN))) {



More information about the bugs mailing list