From 7dd79a834f38db62ae03a682047709c912518558 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 21 Feb 2008 14:37:26 +0000 Subject: [PATCH] Kosmetik --- bin/mozilla/oe.pl | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 2377049b5..32130b9fe 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -197,18 +197,10 @@ sub order_links { OE->retrieve(\%myconfig, \%$form); - if ($form->{payment_id}) { - $payment_id = $form->{payment_id}; - } - if ($form->{language_id}) { - $language_id = $form->{language_id}; - } - if ($form->{taxzone_id}) { - $taxzone_id = $form->{taxzone_id}; - } - - $salesman_id = $form->{salesman_id} if ($editing); - + $payment_id = $form->{payment_id} if $form->{payment_id}; + $language_id = $form->{language_id} if $form->{language_id}; + $taxzone_id = $form->{taxzone_id} if $form->{taxzone_id}; + $salesman_id = $form->{salesman_id} if $editing; # if multiple rowcounts (== collective order) then check if the # there were more than one customer (in that case OE::retrieve removes -- 2.20.1