From b4a1d7782c25003c0cd063f968af920f784ef22b Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 3 Jan 2015 22:58:19 +0100 Subject: [PATCH] Fix config page after invalid values --- controllers/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/config.php b/controllers/config.php index 2d1a680..bf5ffaa 100644 --- a/controllers/config.php +++ b/controllers/config.php @@ -155,7 +155,8 @@ Router\post_action('config', function() { 'values' => Model\Config\get_all() + array('csrf' => Model\Config\generate_csrf()), 'languages' => Model\Config\get_languages(), 'timezones' => Model\Config\get_timezones(), - 'autoflush_options' => Model\Config\get_autoflush_options(), + 'autoflush_read_options' => Model\Config\get_autoflush_read_options(), + 'autoflush_unread_options' => Model\Config\get_autoflush_unread_options(), 'paging_options' => Model\Config\get_paging_options(), 'theme_options' => Model\Config\get_themes(), 'sorting_options' => Model\Config\get_sorting_directions(),