Skip to content
Snippets Groups Projects
Commit 48a618d7 authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #16779 [master-v5] bugfix in RSS Feed

* uses correct call for recordLink ViewHelper
parent dc2ac908
No related merge requests found
...@@ -63,7 +63,7 @@ class ResultFeed extends \VuFind\View\Helper\Root\ResultFeed ...@@ -63,7 +63,7 @@ class ResultFeed extends \VuFind\View\Helper\Root\ResultFeed
} }
$entry->setTitle(empty($title) ? $record->getBreadcrumb() : $title); $entry->setTitle(empty($title) ? $record->getBreadcrumb() : $title);
$serverUrl = $this->getView()->plugin('serverurl'); $serverUrl = $this->getView()->plugin('serverurl');
$recordLink = $this->getView()->plugin('recordlink'); $recordLink = $this->getView()->plugin('recordLink');
try { try {
$url = $serverUrl($recordLink->getUrl($record)); $url = $serverUrl($recordLink->getUrl($record));
} catch (\Zend\Mvc\Router\Exception\RuntimeException $e) { } catch (\Zend\Mvc\Router\Exception\RuntimeException $e) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment