* Hopefully squashed all those annoying "flags" workarounds
[squirrelmail.git] / functions / imap_mailbox.php
index 0ac9ca999ee9ee6231599cdf00084c774d2be815..d36c66232ee2aa5af7e3c72cbc8a2a7cd1c48667 100755 (executable)
             $flags = str_replace('\\', '', $flags);
             $flags = trim(strtolower($flags));
             if ($flags) {
-               $boxes[$g]["flags"] = explode(" ", $flags);
+               $boxes[$g]['flags'] = explode(" ", $flags);
             }
+           else
+           {
+              $boxes[$g]['flags'] = array();
+           }
          }
          $g++;
       }