A free, self-hostable news aggregator…
Fix OPML import special (#4708)
Alexandre Alapetite72265c1eca41
diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.phpindex 9f85fbc86..5993f50dc 100644--- a/app/Models/FeedDAO.php+++ b/app/Models/FeedDAO.php@@ -111,7 +111,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo implements FreshRSS_Searchable {// Merge existing and import attributes$existingAttributes = $feed_search->attributes();$importAttributes = $feed->attributes();- $feed->_attributes('', array_merge_recursive($existingAttributes, $importAttributes));+ $feed->_attributes('', array_replace_recursive($existingAttributes, $importAttributes));// Update some values of the existing feed using the import$values = [