]> git.koha-community.org Git - koha.git/commit
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 Nighswonger <chris.nighswonger@gmail.com>
Mon, 1 Aug 2011 16:38:05 +0000 (12:38 -0400)
commit0eeb2e42ab18eb236f8a32cef1533a2f5d0565a2
treee6813e06190ef0b8ee18ae6fa41dc187dc73276f
parenteff89e4b8292ec7c3723799f14d0499b55c485cd
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>
(cherry picked from commit b84276a3b117e3ebf558fede1c1ac5ce059d484d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
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