Bugfix: oldcustomer/oldvendor wurden beim laden nicht richtig gesetzt, was Versuche...
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 9 Apr 2008 16:39:32 +0000 (16:39 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 9 Apr 2008 16:39:32 +0000 (16:39 +0000)
bin/mozilla/oe.pl

index 3cda960..93f28f0 100644 (file)
@@ -229,11 +229,11 @@ sub order_links {
   $form->{employee}    = "$form->{employee}--$form->{employee_id}";
 
   # build vendor/customer drop down comatibility... don't ask
-  $form->{"old$form->{vc}"}    = $form->{vc};
   if (@{ $form->{"all_$form->{vc}"} }) {
     $form->{"select$form->{vc}"} = 1;
     $form->{$form->{vc}}         = qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;
   }
+  $form->{"old$form->{vc}"}    = $form->{$form->{vc}};
 
   $lxdebug->leave_sub();
 }