Bugzilla – Attachment 46346 Details for
Bug 15462
Unable to renew books via circ/renew.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 15462 - Unable to renew books via circ/renew.pl
PASSED-QA-Bug-15462---Unable-to-renew-books-via-ci.patch (text/plain), 1.01 KB, created by
Katrin Fischer
on 2016-01-06 19:58:38 UTC
(
hide
)
Description:
[PASSED QA] Bug 15462 - Unable to renew books via circ/renew.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-01-06 19:58:38 UTC
Size:
1.01 KB
patch
obsolete
>From 392ffda777993fd97fff2681f2ec100bd5c015c5 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 5 Jan 2016 09:14:30 +0100 >Subject: [PATCH] [PASSED QA] Bug 15462 - Unable to renew books via > circ/renew.pl > >To verify: Got to circ/circulation.pl and try to renew an item. >Result: Can't call method "single" without a package or > object reference at /usr/share/kohaclone/circ/renew.pl > line 57 > >To test: >- Apply patch >- Try to renew items that are or are not checked out. Error > no longer occurs. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > circ/renew.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/renew.pl b/circ/renew.pl >index 28301dc..a87ba76 100755 >--- a/circ/renew.pl >+++ b/circ/renew.pl >@@ -54,7 +54,7 @@ if ($barcode) { > > if ($item) { > >- $issue = $item->issues()->single(); >+ $issue = $item->issue(); > > if ($issue) { > >-- >1.9.1
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 15462
:
46242
|
46243
| 46346