summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-05-01 18:07:17 +0000
committerthomascube <thomas@roundcube.net>2006-05-01 18:07:17 +0000
commit326e87a5d66f0e9a2cd5f34a6e27cd056b9746ad (patch)
treedac691f18b1a0866e328c360c47404bf302114a5 /program
parent97a915e66270ad83d1c5f8ddfc360032870e5dcd (diff)
Pimped search function
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index 5450f07e7..30e6eb8d2 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -55,7 +55,7 @@ class rcube_imap
var $default_folders = array('inbox', 'drafts', 'sent', 'junk', 'trash');
var $cache = array();
var $cache_keys = array();
- var $cache_changes = array();
+ var $cache_changes = array();
var $uid_id_map = array();
var $msg_headers = array();
var $capabilities = array();
@@ -856,7 +856,7 @@ class rcube_imap
$mailbox = $mbox ? $this->_mod_mailbox($mbox) : $this->mailbox;
if ($str && $criteria)
{
- $criteria .= " \"$str\"";
+ $criteria .= ' CHARSET UTF-8 "'.UTF7EncodeString($str).'"';
return $this->_search_index($mailbox, $criteria);
}
else