From 61550b1d2d995896a6bf2ee854e19b6210026674 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 13 Apr 2023 12:50:50 +0200 Subject: Fix save shortcuts (#5294) Fix https://github.com/FreshRSS/FreshRSS/issues/5293 Regression from https://github.com/FreshRSS/FreshRSS/pull/5267 --- app/Controllers/configureController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/configureController.php') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index b1530380c..667c2da74 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -189,7 +189,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { if (Minz_Request::isPost()) { $shortcuts = Minz_Request::paramArray('shortcuts'); - if (!Minz_Request::paramBoolean('load_default_shortcuts')) { + if (Minz_Request::paramBoolean('load_default_shortcuts')) { $default = Minz_Configuration::load(FRESHRSS_PATH . '/config-user.default.php'); $shortcuts = $default['shortcuts']; } -- cgit v1.2.3