]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Feeds had been imported with the wrong body
authorMichael <heluecht@pirati.ca>
Sun, 7 May 2023 06:13:28 +0000 (06:13 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 7 May 2023 06:13:28 +0000 (06:13 +0000)
src/Protocol/Feed.php

index 8c6b4c28d184300f1e897149bb82c46e291cb0f2..6d6d3f6762bc7d6e4d8fdae797d37da6de3d241e 100644 (file)
@@ -309,6 +309,7 @@ class Feed
                        $entry = $entries->item($i);
 
                        $item = array_merge($header, $author);
+                       $body = '';
 
                        $alternate = XML::getFirstAttributes($xpath, $atomns . ":link[@rel='alternate']", $entry);
                        if (!is_object($alternate)) {