Bug 18160 - Error when OverDriveCirculation not enabled
authorNick Clemens <nick@bywatersolutions.com>
Thu, 23 Feb 2017 00:35:13 +0000 (00:35 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Mar 2017 16:53:02 +0000 (16:53 +0000)
commit72e67285b7d98cb1934350274bbcc7191c63c66e
tree36eff09692275bee6702f524241218c493494b53
parentb1249dcc34d22722c23fb3a231b61bcd42f82550
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 <srdjan@catalyst.net.nz>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt