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?)
pull/160/head
Aleksander Machniak 11 years ago
parent 7a3c0c96c4
commit 4957530dec

@ -1444,7 +1444,7 @@ class rcube_imap extends rcube_storage
public function search_once($folder = null, $str = 'ALL') public function search_once($folder = null, $str = 'ALL')
{ {
if (!$str) { if (!$str) {
return 'ALL'; $str = 'ALL';
} }
if (!strlen($folder)) { if (!strlen($folder)) {

Loading…
Cancel
Save