From 72e67285b7d98cb1934350274bbcc7191c63c66e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 23 Feb 2017 00:35:13 +0000 Subject: [PATCH] Bug 18160 - Error when OverDriveCirculation not enabled This patch only executes OverDrive circulation JS if OverDriveCirculation pref is enabled To test: 1 - Disable OverDriveCirculation 2 - Log in to opac and view summary tab 3 - Note 'Internal server error' 4 - Apply patch 5 - Repeat and note error is not present Signed-off-by: Srdjan Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index c862a14e36..aa2d48d555 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -897,17 +897,19 @@ Using this account is not recommended because some parts of Koha will not functi //]]> + [% IF ( OverDriveCirculation ) %] + [% END %] [% END %] -- 2.39.5