diff --git a/HealthSciencesThemePlugin.inc.php b/HealthSciencesThemePlugin.inc.php index 37a6aa9..33aa4e0 100644 --- a/HealthSciencesThemePlugin.inc.php +++ b/HealthSciencesThemePlugin.inc.php @@ -150,7 +150,7 @@ public function getDescription() { */ public function loadTemplateData($hookName, $args) { $templateMgr = $args[0]; - $request = Application::getRequest(); + $request = Application::get()->getRequest(); $context = $request->getContext(); if (!defined('SESSION_DISABLE_INIT')) { diff --git a/templates/frontend/objects/article_details.tpl b/templates/frontend/objects/article_details.tpl index 994cc44..cd30fdc 100644 --- a/templates/frontend/objects/article_details.tpl +++ b/templates/frontend/objects/article_details.tpl @@ -32,6 +32,17 @@
{$parsedCitation->getCitationWithLinks()|strip_unsafe_html}
- {/iterate} - {elseif $article->getCitations()} - {$article->getCitations()|nl2br} + {/foreach} + {else} + {$publication->getData('citationsRaw')|nl2br} {/if}