A free, self-hostable news aggregator…
Avoid duplicates in Dynamic OPML (#6264)
Alexandre Alapetitec052149e5aa6
diff --git a/app/Models/Category.php b/app/Models/Category.phpindex 13bb184d5..691ac1066 100644--- a/app/Models/Category.php+++ b/app/Models/Category.php@@ -214,6 +214,7 @@ class FreshRSS_Category extends Minz_Model {// The feed does not exist in the current category, so add that feed$dryRunFeed->_category($this);$ok &= ($feedDAO->addFeedObject($dryRunFeed) !== false);+ $existingFeeds[$dryRunFeed->url()] = $dryRunFeed;} else {$existingFeed = $existingFeeds[$dryRunFeed->url()];if ($existingFeed->mute()) {