From fa92ca7f3c24f9b71c61675365c54a3750cffe3a Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 17 Jul 2007 16:44:10 +0000 Subject: Fixed: scoping issues in IS.pm (bug 1754576 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1419 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/IS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm index 50931446..6973c04f 100755 --- a/LedgerSMB/IS.pm +++ b/LedgerSMB/IS.pm @@ -1535,7 +1535,7 @@ sub process_assembly { assemblyitem, unit) VALUES (?, ?, ?, ?, 0, 0, ?, 't', ?)|; - $sth = $dbh->prepare($query); + my $sth = $dbh->prepare($query); $sth->execute( $form->{id}, $ref->{description}, $ref->{parts_id}, $ref->{qty}, $allocated, $ref->{unit} ) || $form->dberror($query); -- cgit v1.2.3