]> git.koha-community.org Git - koha.git/commit
Bug 7631 - Self checkout renewal fails because of reference to non-existent subroutin...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 1 Mar 2012 15:00:14 +0000 (10:00 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 8 May 2012 21:48:51 +0000 (17:48 -0400)
commitcfe1ff31dd5d6cac1346db348efa8a52af3a5c7a
tree01f9d98d9969194b03cee1016be9742d4408c043
parent8836d1eda5c349c2a43a38e9f0e7dc003ffcbdfa
Bug 7631 - Self checkout renewal fails because of reference to non-existent subroutine in sco-main.pl

Changing "CanBookBeIssuedCheckout" to "CanBookBeIssued"

To test, try to renew an item which has no renewals left. Before the patch
you'll get an error:

Undefined subroutine &main::CanBookBeIssuedCheckout called at /opac/sco/sco-main.pl line 135.

After the patch you'll get the correct message about having no renewals left.
Other tests: checking out a barcode which doesn't exist, checking out an
item which is on hold for another patron.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
opac/sco/sco-main.pl