diff options
| author | 2019-04-07 21:39:48 +0200 | |
|---|---|---|
| committer | 2019-04-07 21:39:48 +0200 | |
| commit | 295cb89af386c208b82c47250e74c06d76191cf8 (patch) | |
| tree | e0564c7e6130fb5d46b98a620e83731f566ab6d2 /app/Controllers/configureController.php | |
| parent | eae10a985cbc20e46bafafce02521fd5aaf886a8 (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-x | app/Controllers/configureController.php | 3 |
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')); |
