Bugzilla – Attachment 46243 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]
Bug 15462 - Unable to renew books via circ/renew.pl
Bug-15462---Unable-to-renew-books-via-circrenewpl.patch (text/plain), 966 bytes, created by
Jonathan Druart
on 2016-01-05 08:43:13 UTC
(
hide
)
Description:
Bug 15462 - Unable to renew books via circ/renew.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-01-05 08:43:13 UTC
Size:
966 bytes
patch
obsolete
>From f3fdb71974b5dd628819c09b2681e55409d9d5b4 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] 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 renow items that are or are not checked out. Error > no longer occurs. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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) { > >-- >2.1.0
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