mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:15:56 +00:00
fix warning in hotkey help dialog when disabled hotkey is processed
This commit is contained in:
@@ -39,6 +39,7 @@ class Backend extends Handler {
|
||||
|
||||
foreach ($hotkeys as $action => $description) {
|
||||
|
||||
if (is_array($omap[$action])) {
|
||||
foreach ($omap[$action] as $sequence) {
|
||||
if (strpos($sequence, "|") !== FALSE) {
|
||||
$sequence = substr($sequence,
|
||||
@@ -50,7 +51,7 @@ class Backend extends Handler {
|
||||
print "<span class='hksequence'>$sequence</span>";
|
||||
print $description;
|
||||
print "</li>";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user