diff options
author | thomascube <thomas@roundcube.net> | 2007-03-13 22:53:26 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-03-13 22:53:26 +0000 |
commit | e6c7c3ca9381aa10f7147544cd93f6179d32f359 (patch) | |
tree | ea25a1d2310ea7e5e367780deeaee960526a7b96 /program/include/rcube_imap.inc | |
parent | 6ce04b1f7f15e8f8e79641787650a354f99b28de (diff) |
Fixed bugs in rcube_db and rcube_imap classes
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r-- | program/include/rcube_imap.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index 9e1fc8cab..9f249d57b 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -878,7 +878,8 @@ class rcube_imap { $results = array(); foreach ($criteria as $crit) - $results = array_merge($results, $this->search($mbox_name, $crit, $str, $charset)); + if ($search_result = $this->search($mbox_name, $crit, $str, $charset)) + $results = array_merge($results, $search_result); $results = array_unique($results); $this->set_search_set($criteria, $str, $results, $charset); |