summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/OE.pm10
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,