Aleksander Machniak
2014-01-02 4957530dec4fea360bac9e5da8f8d5b2ad51cd9b
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?)
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_imap.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap.php
@@ -1444,7 +1444,7 @@
    public function search_once($folder = null, $str = 'ALL')
    {
        if (!$str) {
            return 'ALL';
            $str = 'ALL';
        }
        if (!strlen($folder)) {