aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/javascript_vars.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-02 00:08:51 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-02 00:08:51 +0200
commitd9e246ecf763eb592f8246d4e9431a80599248e3 (patch)
tree9148f8b9989a9addfae605fdddb2e9102cf047f1 /app/views/helpers/javascript_vars.phtml
parent0853cab2c46e2a38ce2f820a882dc0805be85ab8 (diff)
Shortcuts legacy (#2320)
Fix https://github.com/FreshRSS/FreshRSS/issues/2316
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
-rw-r--r--app/views/helpers/javascript_vars.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index b62263ecf..52489c5c3 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -1,6 +1,6 @@
<?php
$mark = FreshRSS_Context::$user_conf->mark_when;
-$s = FreshRSS_Context::$user_conf->shortcuts;
+$s = validateShortcutList(FreshRSS_Context::$user_conf->shortcuts);
echo htmlspecialchars(json_encode(array(
'context' => array(
'anonymous' => !FreshRSS_Auth::hasAccess(),