summaryrefslogtreecommitdiff
path: root/mail/horde-imp/files/patch-bug1367
blob: 83db997b1782cf113e26e3775f967323c5d5ec8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- lib/IMP.php.orig	Wed Jan 26 10:23:02 2005
+++ lib/IMP.php	Mon Feb 14 21:14:11 2005
@@ -582,7 +582,7 @@
 
         /* Add the list of mailboxes to the lists. */
         $showmbox = false;
-        if (is_null($filter[0])) {
+        if (count($filter) && is_null($filter[0])) {
             $showmbox = true;
             array_shift($filter);
         }