summaryrefslogtreecommitdiff
path: root/LedgerSMB/CP.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/CP.pm')
-rwxr-xr-xLedgerSMB/CP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm
index a7a2f0d0..b5f0df2d 100755
--- a/LedgerSMB/CP.pm
+++ b/LedgerSMB/CP.pm
@@ -708,7 +708,7 @@ sub post_payments {
$sth = $dbh->prepare($query);
$sth->execute($paymentaccno);
- ($accno_id) = $sth->fetchrow_array($query);
+ ($accno_id) = $sth->fetchrow_array;
# add payment
$query = qq|