summaryrefslogtreecommitdiff
path: root/LedgerSMB/IR.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-16 01:14:50 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-16 01:14:50 +0000
commitd926f740de793966a8d3b6aa6c77f9da90121cf0 (patch)
treeaea1c1818b68654e41c12b8657c4793009bbfde7 /LedgerSMB/IR.pm
parent0980a3535f3aeb288ed4c5cc842ee74b6eca8786 (diff)
Removing $query arguments from $sth->fetchrow_array calls
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@633 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/IR.pm')
-rwxr-xr-xLedgerSMB/IR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index 01bb05ca..22fc6fcf 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -101,7 +101,7 @@ sub post_invoice {
$sth = $dbh->prepare($query);
$sth->execute($form->{id});
- if ($sth->fetchrow_array($query)) {
+ if ($sth->fetchrow_array) {
$query = qq|
SELECT p.id, p.inventory_accno_id,
p.income_accno_id