summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-21 18:54:47 +0000
committeralecpl <alec@alec.pl>2011-12-21 18:54:47 +0000
commitc886de7ff41b8e0495e3c89a0b5912a6ec5c44d2 (patch)
tree152a9cf6e474d4796dce7fc9e121e3456ee3810b /program
parentbab0433a274f4e22130793b5e77d3767492c4a9f (diff)
- Fix searching on IMAP servers without CHARSET specifier support (#1488271)
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 60cc41506..2a2f203e9 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1470,7 +1470,7 @@ class rcube_imap
// Error, try with US-ASCII (some servers may support only US-ASCII)
if ($messages->isError() && $charset && $charset != 'US-ASCII')
$messages = $this->conn->search($mailbox,
- 'CHARSET US-ASCII ' . $this->convert_criteria($criteria, $charset), true);
+ $this->convert_criteria($criteria, $charset), true);
$this->search_sorted = false;