From: Sven Schöling Date: Thu, 21 Feb 2008 14:37:26 +0000 (+0000) Subject: Kosmetik X-Git-Tag: release-2.6.0beta1~221 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7dd79a834f38db62ae03a682047709c912518558;p=kivitendo-erp.git Kosmetik --- 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