Remove misleading concatenation in XPath expression in Protocol\Feed
- Variable could be directly interpolated - Address https://github.com/friendica/friendica/issues/13025#issuecomment-1543335001 - Address https://github.com/friendica/friendica/issues/13025#issuecomment-1545074703
This commit is contained in:
parent
725f99c813
commit
add913da27
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