summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-13 17:05:28 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-13 17:05:28 +0000
commit292104e6de3c73c2170c7aac62553abb621d4ec7 (patch)
tree3668ecf410b04ac59a1e443903ddc93a569a905c /LedgerSMB
parenta84fce620c1e33ee73fce4504e9b9b389dba548f (diff)
Switch call from do to prepare
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1582 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/IR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index 62eea7c6..899b7939 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -882,7 +882,7 @@ sub reverse_invoice {
amount, transdate,
project_id)
VALUES (?, ?, ?, ?, ?)|;
- $sth = $dbh->do($query);
+ $sth = $dbh->prepare($query);
$sth->execute(
$pthref->{trans_id},
$ref->{inventory_accno_id},