Bugzilla – Attachment 68634 Details for
Bug 17829
Move GetMember to Koha::Patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17829: (follow-up) Move GetMember to Koha::Patron
Bug-17829-follow-up-Move-GetMember-to-KohaPatron.patch (text/plain), 1009 bytes, created by
Jonathan Druart
on 2017-10-26 18:41:33 UTC
(
hide
)
Description:
Bug 17829: (follow-up) Move GetMember to Koha::Patron
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-26 18:41:33 UTC
Size:
1009 bytes
patch
obsolete
>From df57e18019d2c11d58ab875692bd199323372b4d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 26 Oct 2017 15:40:24 -0300 >Subject: [PATCH] Bug 17829: (follow-up) Move GetMember to Koha::Patron > >Do not call method on $patron if there is no other reserves >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index c42e7504eb..80f228ae0b 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -174,7 +174,7 @@ if ( $query->param('reserve_id') ) { > my ( $messages, $nextreservinfo ) = GetOtherReserves($itemnumber); > > my $patron = Koha::Patrons->find( $nextreservinfo ); >- my $name = $patron->surname . ", " . $patron->title . " " . $patron->firstname; >+ my $name = $patron ? $patron->surname . ", " . $patron->title . " " . $patron->firstname : ''; > if ( $messages->{'transfert'} ) { > $template->param( > itemtitle => $biblio->title, >-- >2.11.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 17829
:
64872
|
64873
|
64971
|
64972
|
64973
|
64976
|
65002
|
65213
|
65286
|
65549
|
65778
|
66360
| 68634