bugfix in mailbox listin
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 28 Apr 2000 17:44:38 +0000 (17:44 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 28 Apr 2000 17:44:38 +0000 (17:44 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@473 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php

index 62302f1..ef12987 100755 (executable)
                    $k++;
                    $i++;
                    next($list_sorted);
-                } else if ($sorted_lsub_ary[$i] < $list_sorted[$key]) {
+                } else if (isset($sorted_lsub_ary[$i]) && isset($list_sorted[$key]) && $sorted_lsub_ary[$i] < $list_sorted[$key]) {
                    $i++;
                 } else {
                    next($list_sorted);