diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index d4eeae61e7..fced3526d4 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -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 = '';