summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-17 02:46:41 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-17 02:46:41 +0000
commit60114368ab6feb363114038265a8ae6f5b6706f4 (patch)
treedae4f44536b4618c6170eefe7285ac5caceae6ae
parent67425b38da365ac1e7f1af10995163805579d4f5 (diff)
Fixing a few more scoping issues, possibly including bug 1703347
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1416 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/IR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index 5cff5019..93b627e2 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -839,7 +839,7 @@ sub reverse_invoice {
transdate,
project_id)
VALUES (?, ?, ?, ?, ?)|;
- $sth = $dbh->prepare($query);
+ my $sth = $dbh->prepare($query);
$sth->execute( $pthref->{trans_id},
$ref->{expense_accno_id},
$amount, $form->{transdate}, $ref->{project_id} )