diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-01-02 12:43:04 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-01-02 12:43:04 +0100 |
commit | 4957530dec4fea360bac9e5da8f8d5b2ad51cd9b (patch) | |
tree | 6a3e8f3c63974720825294518adc1a05d550691b /program/lib | |
parent | 7a3c0c96c469d0855ba27476fc6adde25ae8fa72 (diff) |
Fix an obvious mistake in search_once() casing wrong result when called
with empty 2nd argument (which also is not what should happen, should we return error?)
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php index 4c3bf6fcd..432227091 100644 --- a/program/lib/Roundcube/rcube_imap.php +++ b/program/lib/Roundcube/rcube_imap.php @@ -1444,7 +1444,7 @@ class rcube_imap extends rcube_storage public function search_once($folder = null, $str = 'ALL') { if (!$str) { - return 'ALL'; + $str = 'ALL'; } if (!strlen($folder)) { |