do not special case a folder named 'None'. There's no reason
[squirrelmail.git] / src / search.php
index c2a1054e1aed106362f41f0b42efd0da137da59f..1606105d3caeeee5185daea19c3618e392659fe5 100644 (file)
@@ -1312,7 +1312,7 @@ $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort,
 $boxes = sqimap_mailbox_list($imapConnection);
 /* ensure we have a valid default mailbox name */
 $mailbox = asearch_nz($mailbox_array[0]);
-if (($mailbox == '') || ($mailbox == 'None')) //Workaround for sm quirk IMHO (what if I really have a mailbox called None?)
+if ($mailbox == '')
     $mailbox = $boxes[0]['unformatted']; //Usually INBOX ;)