Add reminder comments that someone needs to take a look and fix some code in this...
[squirrelmail.git] / functions / imap_mailbox.php
index 5d0e5ab48de0fd5ab082520ea89be001fc614326..e7c413095890dffd4cf55278729d8ad02e12941a 100755 (executable)
@@ -360,8 +360,7 @@ function sqimap_mailbox_exists ($imap_stream, $mailbox, $mailboxlist=null) {
  * @since 1.0 or older
  */
 function sqimap_mailbox_select ($imap_stream, $mailbox) {
-    // FIX ME: WHAAAA DO NOT USE "None" for something that does not exist. Use false or NULL instead
-    if ($mailbox == 'None') {
+    if (empty($mailbox)) {
         return;
     }