From eb8d3de878876804b0465ec7cde9adfff436a5a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 5 Mar 2008 15:15:14 +0000 Subject: [PATCH] Bugfix: customer wurde nicht mehr richtig gesetzt was bugs bie der anzeige erzeugt hat. --- bin/mozilla/oe.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 9c3b2fd40..3cda960b3 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -229,8 +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}; - $form->{"select$form->{vc}"} = 1; + $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"}|; + } $lxdebug->leave_sub(); } -- 2.20.1