From 292104e6de3c73c2170c7aac62553abb621d4ec7 Mon Sep 17 00:00:00 2001 From: tetragon Date: Thu, 13 Sep 2007 17:05:28 +0000 Subject: 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 --- LedgerSMB/IR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') 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}, -- cgit v1.2.3