Fix config page after invalid values

This commit is contained in:
Mathias Kresin 2015-01-03 22:58:19 +01:00
parent 80952f29b0
commit b4a1d7782c

View File

@ -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(),