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

SF.net SVN: ledger-smb: [754] branches/1.2/LedgerSMB/OE.pm



Revision: 754
          http://svn.sourceforge.net/ledger-smb/?rev=754&view=rev
Author:   einhverfr
Date:     2007-01-22 10:52:42 -0800 (Mon, 22 Jan 2007)

Log Message:
-----------
Fixing bug 1612154

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

Modified: branches/1.2/LedgerSMB/OE.pm
===================================================================
--- branches/1.2/LedgerSMB/OE.pm	2007-01-12 00:55:34 UTC (rev 753)
+++ branches/1.2/LedgerSMB/OE.pm	2007-01-22 18:52:42 UTC (rev 754)
@@ -1839,11 +1839,11 @@
 
 			$query = qq|
 				UPDATE orderitems SET
-					serialnumber = '$serialnumber',
-					ship = $ship,
-					reqdate = '$form->{shippingdate}'
-					WHERE trans_id = $form->{id}
-				AND id = $form->{"orderitems_id_$i"}|;
+					serialnumber = ?,
+					ship = ?,
+					reqdate = ?
+					WHERE trans_id = ?
+				AND id = ?|;
  			$sth2 = $dbh->prepare($query); 
 			$sth2->execute(
 					$serialnumber, $ship, 


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