'm' might not be set (vfolders)
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 1 Dec 2010 06:38:35 +0000 (23:38 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 1 Dec 2010 06:38:35 +0000 (23:38 -0700)
imp/lib/Search/Query.php

index 474614f..3208817 100644 (file)
@@ -308,7 +308,9 @@ class IMP_Search_Query implements Serializable
         if (isset($data['l'])) {
             $this->_label = $data['l'];
         }
-        $this->_mboxes = $data['m'];
+        if (isset($data['m'])) {
+            $this->_mboxes = $data['m'];
+        }
     }
 
 }