Browse Source

bugfix in mailbox listin

Luke Ehresman 25 years ago
parent
commit
b1295262d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

@@ -214,7 +214,7 @@
 	            $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);