Bug 6598 : ensure OPACFineRenewals can prevent opac renewals
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 14 Jul 2011 10:58:59 +0000 (06:58 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 1 Aug 2011 01:21:13 +0000 (13:21 +1200)
commitb84276a3b117e3ebf558fede1c1ac5ce059d484d
tree06fd701085310b49dfef1f61e35d480a1e1b397d
parent4b2ea4cf447464e1a8cfc16605d1f21e72cdd41a
Bug 6598 : ensure OPACFineRenewals can prevent opac renewals

patron_flagged was being passed at global scope to the template
but being checked as an element in other structures
Also although items could not be selected the Renew Selected
button was displayed, it too should check the flag
Amended the preference text which incorrectly suggested the
option could be turned off. (leading to the opposite to what
the user might expect)
In the script have explicitly assigned the value to a inumeric
variable rather than making an implicit conversion as it may be
that readers were missing that sleight of hand

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
opac/opac-user.pl