Thomas Bruederli
2014-04-23 7d213af1bd85cb09e5b66dd2c03506eb76c9495b
Fix saving of search settings in 'all folders' mode
1 files modified
3 ■■■■ changed files
program/steps/mail/search.inc 3 ●●●● patch | view | raw | blame | history
program/steps/mail/search.inc
@@ -88,8 +88,9 @@
        }
        // save search modifiers for the current folder to user prefs
        $mkey               = $scope == 'all' ? '*' : $mbox;
        $search_mods        = rcmail_search_mods();
        $search_mods[$mbox] = array_fill_keys(array_keys($subject), 1);
        $search_mods[$mkey] = array_fill_keys(array_keys($subject), 1);
        $RCMAIL->user->save_prefs(array('search_mods' => $search_mods));
    }