diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-13 17:05:28 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-13 17:05:28 +0000 |
commit | 292104e6de3c73c2170c7aac62553abb621d4ec7 (patch) | |
tree | 3668ecf410b04ac59a1e443903ddc93a569a905c /LedgerSMB | |
parent | a84fce620c1e33ee73fce4504e9b9b389dba548f (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-x | LedgerSMB/IR.pm | 2 |
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}, |