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
commit 32f322a4c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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