Bug 21702: (follow-up) Fix a typo

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2018-11-09 15:27:31 +00:00
parent 2b746513b4
commit 4e6f0b60f4
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -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,