From 02c90a1703bd2c59c2c9b3ca29760b8a2838106f Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Mon, 29 Feb 2016 12:11:01 -0500 Subject: [PATCH] Bug fix: do not echo script, just append it. --- themes/bootstrap3/templates/collection/view.phtml | 2 +- themes/bootstrap3/templates/record/view.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap3/templates/collection/view.phtml b/themes/bootstrap3/templates/collection/view.phtml index 33e58e99e73..0173e7b79af 100644 --- a/themes/bootstrap3/templates/collection/view.phtml +++ b/themes/bootstrap3/templates/collection/view.phtml @@ -4,7 +4,7 @@ $this->headScript()->appendFile("check_save_statuses.js"); // Activate Syndetics Plus if necessary: if ($this->syndeticsPlus()->isActive()) { - echo $this->headScript()->appendFile($this->syndeticsPlus()->getScript()); + $this->headScript()->appendFile($this->syndeticsPlus()->getScript()); } // Add RDF header link if applicable: diff --git a/themes/bootstrap3/templates/record/view.phtml b/themes/bootstrap3/templates/record/view.phtml index 116f7300620..c1ce3ff5779 100644 --- a/themes/bootstrap3/templates/record/view.phtml +++ b/themes/bootstrap3/templates/record/view.phtml @@ -4,7 +4,7 @@ $this->headScript()->appendFile("check_save_statuses.js"); // Activate Syndetics Plus if necessary: if ($this->syndeticsPlus()->isActive()) { - echo $this->headScript()->appendFile($this->syndeticsPlus()->getScript()); + $this->headScript()->appendFile($this->syndeticsPlus()->getScript()); } // Add RDF header link if applicable: -- GitLab