diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-17 16:44:10 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-17 16:44:10 +0000 |
commit | fa92ca7f3c24f9b71c61675365c54a3750cffe3a (patch) | |
tree | 6fa0a91366f2ba4dde32b6dcf26959837a4bb91e | |
parent | f8dc7be89795df90ba69c366e84142f52a06223c (diff) |
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
-rwxr-xr-x | LedgerSMB/IS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |