aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-04-13 12:50:50 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-13 12:50:50 +0200
commit61550b1d2d995896a6bf2ee854e19b6210026674 (patch)
tree81488daed5d9b95d720008f8dfe104089e00aec9 /app/Controllers/configureController.php
parent6e7fa07a39e2ff73c3e5e11d38a61d1f2231c859 (diff)
Fix save shortcuts (#5294)
Fix https://github.com/FreshRSS/FreshRSS/issues/5293 Regression from https://github.com/FreshRSS/FreshRSS/pull/5267
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php2
1 files changed, 1 insertions, 1 deletions
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'];
}