Merge pull request #13116 from MrPetovan/bug/warnings
Remove misleading concatenation in XPath expression in Protocol\Feed
This commit is contained in:
commit
32f322a4c1
1 changed files with 1 additions and 1 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in a new issue