jmunro 23 år sedan
förälder
incheckning
0eec03f0b9
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      functions/imap_mailbox.php

+ 2 - 1
functions/imap_mailbox.php

@@ -574,7 +574,8 @@ function sqimap_mailbox_list($imap_stream) {
                     $used[$k] = true;
                     $used[$k] = true;
                 }
                 }
                 $spec_sub = str_replace(' ', '', $box['formatted']);
                 $spec_sub = str_replace(' ', '', $box['formatted']);
-                $spec_sub = str_replace('*', '', $box['formatted']);
+                $spec_sub = str_replace('*', '', $spec_sub);
+                $spec_sub = str_replace('?', '\?', $spec_sub);
 
 
                /* In case of problems with preg
                /* In case of problems with preg
                   here is a ereg version
                   here is a ereg version