Bugzilla – Attachment 68662 Details for
Bug 15261
Verify if checkout or hold request periods overlap with existing holds
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), 1.10 KB, created by
Alex Arnaud
on 2017-10-27 08:34:13 UTC
(
hide
)
Description:
Bug 17829: (follow-up) Move GetMember to Koha::Patron
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2017-10-27 08:34:13 UTC
Size:
1.10 KB
patch
obsolete
>From daa33114a2a20b2c6d22f18db8b2ea10e9cb71c1 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 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >https://bugs.koha-community.org/show_bug.cgi?id=15261 >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index c42e750..80f228a 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.7.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 15261
:
45216
|
45833
|
45841
|
46432
|
46433
|
46441
|
46442
|
49001
|
49002
|
49003
|
52704
|
59643
|
61534
|
61539
|
61544
|
67088
|
67094
|
67143
|
68660
|
68661
|
68662
|
68663
|
68664
|
68852
|
68853
|
72956
|
72957
|
76221
|
76222
|
88292
|
88293
|
88297
|
88298
|
92376
|
92377
|
92584
|
92585
|
92664
|
93136
|
94871
|
98383
|
98424
|
98672
|
106944
|
106949
|
120822
|
123405
|
125793
|
125794
|
125795
|
125796
|
131569
|
131570
|
131571
|
131572
|
131573