From: Moritz Bunkus Date: Tue, 8 Jul 2008 08:12:34 +0000 (+0000) Subject: Query nicht doppelt ausführen. X-Git-Tag: release-2.6.0beta1~68 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2b5789caff059776e1440f6dd6a4584a7cb030e6;p=kivitendo-erp.git Query nicht doppelt ausführen. --- diff --git a/SL/DO.pm b/SL/DO.pm index ef6a10b69..28eb85436 100644 --- a/SL/DO.pm +++ b/SL/DO.pm @@ -403,8 +403,6 @@ sub mark_orders_if_delivered { 'oe_id' => $oe_id,); my %ordered = (); - do_statement($form, $sth, $query, $oe_id); - while (my $ref = $sth->fetchrow_hashref()) { $ref->{baseqty} = $ref->{qty} * $all_units->{$ref->{unit}}->{factor} / $all_units->{$ref->{partunit}}->{factor};