summaryrefslogtreecommitdiff
path: root/LedgerSMB/OE.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/OE.pm')
-rwxr-xr-xLedgerSMB/OE.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm
index 47a2b3f4..b5bbc6a4 100755
--- a/LedgerSMB/OE.pm
+++ b/LedgerSMB/OE.pm
@@ -486,18 +486,11 @@ sub save {
@queryargs = ();
# save detail record in orderitems table
$query = qq|INSERT INTO orderitems (|;
- if ($form->{"orderitems_id_$i"}){
- $query .= "id, ";
- }
$query .= qq|
trans_id, parts_id, description, qty, sellprice,
discount, unit, reqdate, project_id, ship,
serialnumber, notes)
VALUES (|;
- if ($form->{"orderitems_id_$i"}){
- $query .= "?, ";
- push @queryargs, $form->{"orderitems_id_$i"};
- }
$query .= qq| ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)|;
$sth = $dbh->prepare($query);
push (@queryargs,