Merge pull request #13116 from MrPetovan/bug/warnings

Remove misleading concatenation in XPath expression in Protocol\Feed
pull/12862/merge
Michael Vogel 2023-05-13 07:22:19 +02:00 zatwierdzone przez GitHub
commit 32f322a4c1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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