Bugzilla – Attachment 73440 Details for
Bug 20499
Checkout of bad barcode: Internal Server Error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20499: Fix the Internal Server Error
Bug-20499-Fix-the-Internal-Server-Error.patch (text/plain), 1.03 KB, created by
Mark Tompsett
on 2018-03-29 18:49:42 UTC
(
hide
)
Description:
Bug 20499: Fix the Internal Server Error
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-03-29 18:49:42 UTC
Size:
1.03 KB
patch
obsolete
>From cdf9ec4db951a9442a6bcdcd8c590e37e483e9e6 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 29 Mar 2018 18:47:25 +0000 >Subject: [PATCH] Bug 20499: Fix the Internal Server Error > >TEST PLAN >--------- >See comment #1 > >Applying the test without the patch: messy. >Applyin both patches: smooth. >Run koha qa test tools >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 3e711cd..177fb1f 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -670,7 +670,7 @@ sub CanBookBeIssued { > my $item = GetItem(undef, $barcode ); > my $issue = Koha::Checkouts->find( { itemnumber => $item->{itemnumber} } ); > my $biblio = Koha::Biblios->find( $item->{biblionumber} ); >- my $biblioitem = $biblio->biblioitem; >+ my $biblioitem = $biblio ? $biblio->biblioitem : undef; > my $effective_itemtype = $item->{itype}; # GetItem deals with that > my $dbh = C4::Context->dbh; > my $patron_unblessed = $patron->unblessed; >-- >2.1.4
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 20499
:
73439
|
73440
|
73442
|
74107
|
74108
|
74109
|
74144
|
74145
|
74146