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

refs #16416 [fid_adlr] forward doi variables

* avoids initialized variable in get-it-box links
parent 463d92f6
No related merge requests found
......@@ -91,14 +91,9 @@ JS;
<?php /* finc: add 'Online Access' in holdings-tab #13770 - VE */ ?>
<?php if ($getit->showLinks() && (!empty($urls) || $openUrlActive || $doiActive)): ?>
<?= $this->context($this)->renderInContext('get-it-box/links.phtml', [
'getit' => $getit,
'openUrl' => $openUrl,
'openUrlActive' => $openUrlActive,
'urls' => $urls,
'doiActive' => $doiActive,
'doi' => $doi
]); ?>
<?= $this->context($this)->renderInContext('get-it-box/links.phtml',
compact('getit', 'openUrl','openUrlActive','urls','doiActive','doi')
); ?>
<?php endif; ?>
</div>
......
......@@ -28,7 +28,7 @@
</span>
<?php endif; ?>
<?php endif; ?>
<?/*= $openUrl->renderTemplate() */?>
<?= $openUrl->renderTemplate() ?>
<?php if ($doiActive): ?><?= $doi->renderTemplate() ?><?php endif; ?>
<?php endif; ?>
</div>
......
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