From 4e6f0b60f4b765cfa6c08883305d46d44dc1b9b5 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 9 Nov 2018 15:27:31 +0000 Subject: [PATCH] Bug 21702: (follow-up) Fix a typo Signed-off-by: Martin Renvoize --- members/mancredit.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/mancredit.pl b/members/mancredit.pl index 7d68067d42..c7673b1949 100755 --- a/members/mancredit.pl +++ b/members/mancredit.pl @@ -74,7 +74,7 @@ if ($add){ my $amount = $input->param('amount') || 0; my $type = $input->param('type'); - my $logged_in_user = Koha::Patrons->find( { userid => $userid } ) or die "Not logged in"; + my $logged_in_user = Koha::Patrons->find( { userid => $user_id } ) or die "Not logged in"; Koha::Account->new({ patron_id => $borrowernumber })->add_credit({ amount => $amount, description => $description, -- 2.39.5