Bugzilla – Attachment 7967 Details for
Bug 7631
Self checkout renewal fails because of reference to non-existent subroutine in sco-main.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7631 - Self checkout renewal fails because of reference to non-existent subroutine in sco-main.pl
Bug-7631---Self-checkout-renewal-fails-because-of-.patch (text/plain), 1.28 KB, created by
Owen Leonard
on 2012-03-01 15:03:01 UTC
(
hide
)
Description:
Bug 7631 - Self checkout renewal fails because of reference to non-existent subroutine in sco-main.pl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-03-01 15:03:01 UTC
Size:
1.28 KB
patch
obsolete
>From 78894d98773b2c2a7c07251d23be3062c9fceb83 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 1 Mar 2012 10:00:14 -0500 >Subject: [PATCH] Bug 7631 - Self checkout renewal fails because of reference to non-existent subroutine in sco-main.pl >Content-Type: text/plain; charset="utf-8" > >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. >--- > opac/sco/sco-main.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl >index 7e4f810..f0ca37e 100755 >--- a/opac/sco/sco-main.pl >+++ b/opac/sco/sco-main.pl >@@ -132,7 +132,7 @@ elsif ( $op eq "checkout" ) { > my $impossible = {}; > my $needconfirm = {}; > if ( !$confirmed ) { >- ( $impossible, $needconfirm ) = CanBookBeIssuedCheckout( >+ ( $impossible, $needconfirm ) = CanBookBeIssued( > $borrower, > $barcode, > undef, >-- >1.7.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7631
:
7967
|
7970
|
7981