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

refs #15189 [master-v5] fixup ViewHelper

* fixes plugin retrieval in Record ViewHelper
parent ee83f2fa
No related merge requests found
...@@ -487,7 +487,7 @@ class Record extends \VuFind\View\Helper\Root\Record ...@@ -487,7 +487,7 @@ class Record extends \VuFind\View\Helper\Root\Record
"Elektronische Reproduktion" "Elektronische Reproduktion"
); );
$onlineEditions = []; $onlineEditions = [];
$recordLinkHelper = $this->getView()->RecordLink(); $recordLinkHelper = $this->getView()->plugin('recordLink');
foreach ($this->driver->tryMethod('getAdditionals') as $add) { foreach ($this->driver->tryMethod('getAdditionals') as $add) {
if (isset($add['identifier']) if (isset($add['identifier'])
&& in_array($add['identifier'], $online_keys)) { && in_array($add['identifier'], $online_keys)) {
......
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