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

SF.net SVN: ledger-smb: [1112] trunk/LedgerSMB



Revision: 1112
          http://svn.sourceforge.net/ledger-smb/?rev=1112&view=rev
Author:   einhverfr
Date:     2007-04-27 08:16:14 -0700 (Fri, 27 Apr 2007)

Log Message:
-----------
Fixing bind error in IS.pm re: Charlie Ambrose's email

Modified Paths:
--------------
    trunk/LedgerSMB/IS.pm

Added Paths:
-----------
    trunk/LedgerSMB/Batch.pm
    trunk/LedgerSMB/Voucher.pm

Added: trunk/LedgerSMB/Batch.pm
===================================================================
--- trunk/LedgerSMB/Batch.pm	                        (rev 0)
+++ trunk/LedgerSMB/Batch.pm	2007-04-27 15:16:14 UTC (rev 1112)
@@ -0,0 +1,5 @@
+
+
+package LedgerSMB::Batch;
+use base qw(LedgerSMB::DBObject);
+

Modified: trunk/LedgerSMB/IS.pm
===================================================================
--- trunk/LedgerSMB/IS.pm	2007-04-27 15:14:50 UTC (rev 1111)
+++ trunk/LedgerSMB/IS.pm	2007-04-27 15:16:14 UTC (rev 1112)
@@ -1022,7 +1022,7 @@
 						  FROM parts p
 						  JOIN assembly a 
 						       ON (a.parts_id = p.id)
-						 WHERE a.id = $form->{"id_$i"}
+						 WHERE a.id = ?
 						 GROUP BY p.assembly|;
                     $sth = $dbh->prepare($query);
                     $sth->execute( $form->{"id_$i"} )

Added: trunk/LedgerSMB/Voucher.pm
===================================================================
--- trunk/LedgerSMB/Voucher.pm	                        (rev 0)
+++ trunk/LedgerSMB/Voucher.pm	2007-04-27 15:16:14 UTC (rev 1112)
@@ -0,0 +1,5 @@
+
+
+package LedgerSMB::Voucher;
+use base qw(LedgerSMB::DBObject);
+


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