Merge pull request #13101 from annando/fix-feeds
Fix: Feeds had been imported with the wrong body
This commit is contained in:
commit
675e5af2fd
|
@ -309,6 +309,7 @@ class Feed
|
||||||
$entry = $entries->item($i);
|
$entry = $entries->item($i);
|
||||||
|
|
||||||
$item = array_merge($header, $author);
|
$item = array_merge($header, $author);
|
||||||
|
$body = '';
|
||||||
|
|
||||||
$alternate = XML::getFirstAttributes($xpath, $atomns . ":link[@rel='alternate']", $entry);
|
$alternate = XML::getFirstAttributes($xpath, $atomns . ":link[@rel='alternate']", $entry);
|
||||||
if (!is_object($alternate)) {
|
if (!is_object($alternate)) {
|
||||||
|
|
Loading…
Reference in a new issue