aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-07 21:39:48 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-07 21:39:48 +0200
commit295cb89af386c208b82c47250e74c06d76191cf8 (patch)
treee0564c7e6130fb5d46b98a620e83731f566ab6d2 /app/Controllers/configureController.php
parenteae10a985cbc20e46bafafce02521fd5aaf886a8 (diff)
Fix PHP 5.5 compat for array const (#2360)
https://github.com/FreshRSS/FreshRSS/issues/2359
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 16dd82121..6d3c4dcce 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -166,7 +166,8 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
* tab and up.
*/
public function shortcutAction() {
- $this->view->list_keys = SHORTCUT_KEYS;
+ global $SHORTCUT_KEYS;
+ $this->view->list_keys = $SHORTCUT_KEYS;
if (Minz_Request::isPost()) {
FreshRSS_Context::$user_conf->shortcuts = validateShortcutList(Minz_Request::param('shortcuts'));