diff options
| author | 2013-11-18 09:53:25 +0100 | |
|---|---|---|
| committer | 2013-11-18 09:53:25 +0100 | |
| commit | 082246d13f524aa646d5aedf49ae7e3b6c621d6c (patch) | |
| tree | 4bcf1722fb87294450d4b1b96211a1622b0b2d95 /app/models/RSSConfiguration.php | |
| parent | 7de873e0c1d11e26c07f0ecd8391c7632c4916cb (diff) | |
Raccourcis : tolère l'ajout de nouveaux
Tolère l'ajout de nouveaux inconnus des versions précédents de FreshRSS,
et plus robuste en cas de mauvais fichier de configuration utilisateur.
Diffstat (limited to 'app/models/RSSConfiguration.php')
| -rwxr-xr-x | app/models/RSSConfiguration.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |
