From 60114368ab6feb363114038265a8ae6f5b6706f4 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 17 Jul 2007 02:46:41 +0000 Subject: 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 --- 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 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} ) -- cgit v1.2.3