Kosmetik
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 21 Feb 2008 14:37:26 +0000 (14:37 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 21 Feb 2008 14:37:26 +0000 (14:37 +0000)
bin/mozilla/oe.pl

index 2377049..32130b9 100644 (file)
@@ -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