diff options
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}, |