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
1 changed files with 1 additions and 1 deletions

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 = '';