[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1419] branches/1.2/LedgerSMB/IS.pm



Revision: 1419
          http://svn.sourceforge.net/ledger-smb/?rev=1419&view=rev
Author:   einhverfr
Date:     2007-07-17 09:44:10 -0700 (Tue, 17 Jul 2007)

Log Message:
-----------
Fixed: scoping issues in IS.pm (bug 1754576

Modified Paths:
--------------
    branches/1.2/LedgerSMB/IS.pm

Modified: branches/1.2/LedgerSMB/IS.pm
===================================================================
--- branches/1.2/LedgerSMB/IS.pm	2007-07-17 15:57:11 UTC (rev 1418)
+++ branches/1.2/LedgerSMB/IS.pm	2007-07-17 16:44:10 UTC (rev 1419)
@@ -1535,7 +1535,7 @@
 			            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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.