Merge pull request #13116 from MrPetovan/bug/warnings

Remove misleading concatenation in XPath expression in Protocol\Feed
This commit is contained in:
Michael Vogel
2023-05-13 07:22:19 +02:00
committed by GitHub

View File

@@ -478,7 +478,7 @@ class Feed
$attachments = [];
$enclosures = $xpath->query("enclosure|' . $atomns . ':link[@rel='enclosure']", $entry);
$enclosures = $xpath->query("enclosure|$atomns:link[@rel='enclosure']", $entry);
if (!empty($enclosures)) {
foreach ($enclosures as $enclosure) {
$href = '';