From 4227f63313663de6c2be95137d4d394323fa571f Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Tue, 27 May 2008 18:04:12 -0500 Subject: [PATCH] Corrected wrong number of arguments to getnextacctno. Signed-off-by: Joshua Ferraro --- catalogue/updateitem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/updateitem.pl b/catalogue/updateitem.pl index 1c0906aac7..26a99fef28 100755 --- a/catalogue/updateitem.pl +++ b/catalogue/updateitem.pl @@ -97,7 +97,7 @@ if ($itemlost==1) { # OK, they haven't unless ($existing_charge_hashref) { # This item is on issue ... add replacement cost to the borrower's record and mark it returned - my $accountno = getnextacctno('',$issues->{'borrowernumber'},$dbh); + my $accountno = getnextacctno($issues->{'borrowernumber'}); my $sth2=$dbh->prepare("INSERT INTO accountlines (borrowernumber,accountno,date,amount,description,accounttype,amountoutstanding,itemnumber) VALUES -- 2.20.1