From: Sven Schöling Date: Wed, 5 Mar 2008 15:15:14 +0000 (+0000) Subject: Bugfix: X-Git-Tag: release-2.6.0beta1~196 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eb8d3de878876804b0465ec7cde9adfff436a5a0;p=kivitendo-erp.git Bugfix: customer wurde nicht mehr richtig gesetzt was bugs bie der anzeige erzeugt hat. --- 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(); }