diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-01-22 18:52:42 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-01-22 18:52:42 +0000 |
commit | 90fac867940e692f5950e7180482ff83c850cde2 (patch) | |
tree | 3d68d555153b3debbd4b1b3520df4bbc8e60b843 | |
parent | a5906ea00d3742432f832e0533f595e6b006f989 (diff) |
Fixing bug 1612154
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@754 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/OE.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm index 8311ec6a..360dcf87 100755 --- a/LedgerSMB/OE.pm +++ b/LedgerSMB/OE.pm @@ -1839,11 +1839,11 @@ sub save_inventory { $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, |