summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-21 18:57:01 +0000
committeralecpl <alec@alec.pl>2011-12-21 18:57:01 +0000
commitd355c04084d0568908f495c515c09000271ff9aa (patch)
tree9d5a37ed0830007c52eb5b5dbb1a37d94dc16203 /program
parent984ee8ce92c9293963575e1806506c4a33c2fbfc (diff)
- Backport r5637 fix for searching without CHARSET
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 2d7a94f55..514d11b4d 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -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)