From 89686f22fdd4682abc50690a05e7519d93076ae1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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