From: Moritz Bunkus Date: Tue, 8 Jul 2008 08:12:08 +0000 (+0000) Subject: Debugcode X-Git-Tag: release-2.6.0beta1~69 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b90f03e45d33ac76d0d5ec34132831bfbf55e15d;p=kivitendo-erp.git Debugcode --- diff --git a/SL/DO.pm b/SL/DO.pm index 620f1e06a..ef6a10b69 100644 --- a/SL/DO.pm +++ b/SL/DO.pm @@ -393,7 +393,7 @@ sub mark_orders_if_delivered { my $all_units = AM->retrieve_all_units(); - $query = qq|SELECT oi.parts_id, oi.qty, oi.unit, p.unit AS partunit + my $query = qq|SELECT oi.parts_id, oi.qty, oi.unit, p.unit AS partunit FROM orderitems oi LEFT JOIN parts p ON (oi.parts_id = p.id) WHERE (oi.trans_id = ?)|;