diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-13 17:06:15 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-13 17:06:15 +0000 |
commit | 02d0ce186cfc17daba79f9c63fb0fe6061e9a766 (patch) | |
tree | e39062b06b4b4c12dfa33f7201f1bbaedf0f4043 | |
parent | d1bdc2fdf4f965bdbf4f81ab650e8eb4839335dc (diff) |
Switch call from do to prepare
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1583 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/IR.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm index 0afbc827..0fbb4694 100644 --- a/LedgerSMB/IR.pm +++ b/LedgerSMB/IR.pm @@ -901,7 +901,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}, |