aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 9316f6ea6..f658d1c44 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -179,7 +179,8 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
if (Minz_Request::isPost()) {
$shortcuts = Minz_Request::param('shortcuts');
if (false !== Minz_Request::param('load_default_shortcuts')) {
- $shortcuts = array_filter($shortcuts);
+ $default = Minz_Configuration::load(FRESHRSS_PATH . '/config-user.default.php');
+ $shortcuts = $data['shortcuts'];
}
FreshRSS_Context::$user_conf->shortcuts = validateShortcutList($shortcuts);
FreshRSS_Context::$user_conf->save();