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)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 8 Mar 2012 17:10:52 +0000 (18:10 +0100)
commit9ffa73534b07c8cf9c5d3cf6079891cf0ba90ba9
tree75d3c8370f5d44f19c1980bdfbc0049f8f5ec4fc
parente7da536551623337aed4ac6f14a127d0f50bd265
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>
opac/sco/sco-main.pl