Browse Source

* Hopefully squashed all those annoying "flags" workarounds
* Should kill the error I was just reported with search.php

Tyler Akins 24 năm trước cách đây
mục cha
commit
e669789d91
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      functions/imap_mailbox.php

+ 5 - 1
functions/imap_mailbox.php

@@ -374,8 +374,12 @@
             $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++;
       }