* Hopefully squashed all those annoying "flags" workarounds
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 6 Feb 2001 20:26:33 +0000 (20:26 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 6 Feb 2001 20:26:33 +0000 (20:26 +0000)
* Should kill the error I was just reported with search.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1063 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php

index 0ac9ca9..d36c662 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++;
       }