From 2480474cdf8f27c4114ab404f4669f052e5a49c7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 15 Aug 2017 15:08:46 -0300 Subject: [PATCH] Bug 19080: Fix member vs borrowernumber in delmember Signed-off-by: Josef Moravec Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- members/deletemem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/deletemem.pl b/members/deletemem.pl index b03b5c8d90..4cbb4d660b 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -76,7 +76,7 @@ my $countissues = scalar(@$issues); my $patron = Koha::Patrons->find( $member ); unless ( $patron ) { - print $input->redirect("/cgi-bin/koha/circ/circulation.pl?borrowernumber=$borrowernumber"); + print $input->redirect("/cgi-bin/koha/circ/circulation.pl?borrowernumber=$member"); exit; } my $flags = C4::Members::patronflags( $patron->unblessed ); -- 2.39.5