[imp] Error in Tree.php

Fábio Gomes flgomes at fazenda.sp.gov.br
Fri Jun 3 13:12:51 PDT 2005


Em Sex 03 Jun 2005 16:31, Fábio Gomes escreveu:
> Hi list,
>
> 	I'm getting the following error messages while trying to collapse folders
> in the folder view:
>
> Notice: Undefined index: v
> in /usr/local/apache-2.0.53/htdocs/horde-3.0.4/lib/Horde/IMAP/Tree.php on
> line 1555
>
> Notice: Undefined index: v
> in /usr/local/apache-2.0.53/htdocs/horde-3.0.4/lib/Horde/IMAP/Tree.php on
> line 1258
>
> 	The same indexes are being used to expand folders, but while expanding
> them I don't get any error messages.
>

Er.. Well... Browsing the code I noticed differences between collapseAll() and 
expandAll() functions. Since the expandAll() is the one that is working, I 
changed the collapseAll() function based on expandAll(). I attached the patch 
for [...]/horde-3.0.4/lib/Horde/IMAP/Tree.php.

Best Regards,
-- 
----------------------------------------------------------------------
Fábio Gomes                                <flgomes at fazenda.sp.gov.br>
Personal Public Key at:                       http://www.keyserver.net
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tree.php.patch
Type: text/x-diff
Size: 364 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20050603/95399ce3/Tree.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20050603/95399ce3/attachment.bin


More information about the imp mailing list