summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Models/ConfigurationSetter.php4
-rw-r--r--app/views/configure/shortcut.phtml2
2 files changed, 2 insertions, 4 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php
index f1c465c7c..e808630b4 100644
--- a/app/Models/ConfigurationSetter.php
+++ b/app/Models/ConfigurationSetter.php
@@ -154,9 +154,7 @@ class FreshRSS_ConfigurationSetter {
private function _shortcuts(&$data, $values) {
foreach ($values as $key => $value) {
- if (isset($data['shortcuts'][$key])) {
- $data['shortcuts'][$key] = $value;
- }
+ $data['shortcuts'][$key] = $value;
}
}
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml
index fdbeed3ea..f68091af9 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -114,7 +114,7 @@
<div class="form-group">
<label class="group-name" for="close_dropdown_shortcut"><?php echo _t('conf.shortcut.close_dropdown'); ?></label>
<div class="group-controls">
- <input type="text" id="help_shortcut" name="shortcuts[close_dropdown]" list="keys" value="<?php echo $s['close_dropdown']; ?>" />
+ <input type="text" id="close_dropdown" name="shortcuts[close_dropdown]" list="keys" value="<?php echo $s['close_dropdown']; ?>" />
</div>
</div>