[imp] Folder trees

Yann Vernier yann@infra.kth.se
Wed, 2 Oct 2002 12:00:40 +0200


In imp/lib/Folder.php, function flist, the test to see if a parent folder exists
already fails. Changing this line:
                !array_key_exists($prefix . $namespace . $parent, $list) &&
To:
                !array_key_exists($parent, $list) &&

Seems to fix the problem. The problem this change fixes is that folders that
have subfolders can't be reached through the "open folder" and "move/copy
message to" lists.

Could someone fix this in CVS?