Skip to content

A free, self-hostable news aggregator…

Raccourcis : tolère l'ajout de nouveaux

Alexandre Alapetite082246d13f52
diff --git a/app/models/RSSConfiguration.php b/app/models/RSSConfiguration.php
index 8a8acafcb..741dd84a1 100755
--- a/app/models/RSSConfiguration.php
+++ b/app/models/RSSConfiguration.php
@@ -380,7 +380,7 @@ class RSSConfigurationDAO extends Model_array {
$this->old_entries = $this->array['old_entries'];
}
if (isset ($this->array['shortcuts'])) {
- $this->shortcuts = $this->array['shortcuts'];
+ $this->shortcuts = array_merge ($this->shortcuts, $this->array['shortcuts']);
}
if (isset ($this->array['mail_login'])) {
$this->mail_login = $this->array['mail_login'];