]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/include/rcube_imap.php
Imported Upstream version 0.7.1
[roundcube.git] / program / include / rcube_imap.php
index b48adcfc8551efc4e61709ac18e99e14362b95c7..521c91cebe97496bc6edb18e423c5e79e9918fb1 100644 (file)
@@ -17,7 +17,7 @@
  | Author: Aleksander Machniak <alec@alec.pl>                            |
  +-----------------------------------------------------------------------+
 
- $Id: rcube_imap.php 5601 2011-12-14 09:08:54Z alec $
+ $Id: rcube_imap.php 5638 2011-12-21 18:57:01Z alec $
 
 */
 
@@ -1722,7 +1722,7 @@ class rcube_imap
             // Error, try with US-ASCII (some servers may support only US-ASCII)
             if ($a_messages === false && $charset && $charset != 'US-ASCII')
                 $a_messages = $this->conn->search($mailbox,
-                    'CHARSET US-ASCII ' . $this->convert_criteria($criteria, $charset));
+                    $this->convert_criteria($criteria, $charset));
 
             // I didn't found that SEARCH should return sorted IDs
             if (is_array($a_messages) && !$this->sort_field)