Bugzilla – Attachment 66383 Details for
Bug 19080
Handle non existing patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19080: Fix perlcritic in routing-lists.pl
Bug-19080-Fix-perlcritic-in-routing-listspl.patch (text/plain), 907 bytes, created by
Jonathan Druart
on 2017-08-23 14:43:30 UTC
(
hide
)
Description:
Bug 19080: Fix perlcritic in routing-lists.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-23 14:43:30 UTC
Size:
907 bytes
patch
obsolete
>From 89686f22fdd4682abc50690a05e7519d93076ae1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 23 Aug 2017 11:42:34 -0300 >Subject: [PATCH] Bug 19080: Fix perlcritic in routing-lists.pl > >--- > members/routing-lists.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/members/routing-lists.pl b/members/routing-lists.pl >index 5726a20ea3..b03be94749 100755 >--- a/members/routing-lists.pl >+++ b/members/routing-lists.pl >@@ -48,7 +48,8 @@ my $borrowernumber = $query->param('borrowernumber'); > > my $branch = C4::Context->userenv->{'branch'}; > >-my $patron = Koha::Patrons->find( $borrowernumber ) if $borrowernumber; >+my $patron; >+$patron = Koha::Patrons->find( $borrowernumber ) if $borrowernumber; > unless ( $patron ) { > print $query->redirect("/cgi-bin/koha/circ/circulation.pl?borrowernumber=$borrowernumber"); > exit; >-- >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 19080
:
65834
|
65854
|
66036
|
66190
|
66191
|
66383
|
66384
|
66385
|
66386