From 295cb89af386c208b82c47250e74c06d76191cf8 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 7 Apr 2019 21:39:48 +0200 Subject: Fix PHP 5.5 compat for array const (#2360) https://github.com/FreshRSS/FreshRSS/issues/2359 --- app/Controllers/configureController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/Controllers/configureController.php') 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')); -- cgit v1.2.3