X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=members%2Fprintinvoice.pl;fp=members%2Fprintinvoice.pl;h=9e69fb7146980f85fb34cced174afcc3e9af8d90;hb=2fa06f48d957f7ea39286a52513a580e2ed5b13e;hp=3e04fccd44ce7b8570f2483918a410e050bfa935;hpb=2482819de984200f6c1d0387b3c9fd8ad10940b3;p=koha.git diff --git a/members/printinvoice.pl b/members/printinvoice.pl index 3e04fccd44..9e69fb7146 100755 --- a/members/printinvoice.pl +++ b/members/printinvoice.pl @@ -47,7 +47,6 @@ my ($template, $loggedinuser, $cookie) my $borrowernumber=$input->param('borrowernumber'); my $action = $input->param('action') || ''; -my $accountno = $input->param('accountno'); my $accountlines_id = $input->param('accountlines_id'); #get borrower details @@ -74,7 +73,7 @@ my @accountrows; # this is for the tmpl-loop my $toggle; for (my $i=0;$i<$numaccts;$i++){ - next if ($accts->[$i]{'accountno'} ne $accountno); + next if ($accts->[$i]{'accountlines_id'} ne $accountlines_id ); if($i%2){ $toggle = 0; } else {