From f6124ea6b4ad154625d1fbce3485884e5f2ce82c Mon Sep 17 00:00:00 2001 From: Thomas Kasulke Date: Mon, 7 May 2007 13:26:09 +0000 Subject: [PATCH] vclimit-Vergleich korrigiert --- bin/mozilla/is.pl | 4 ++-- bin/mozilla/oe.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index e22ab4c40..81ba52141 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -371,8 +371,8 @@ sub form_header { my $customers = qq| | . $locale->text('Customer') . qq| | . - (($myconfig{vclimit} == 1 ) - ? qq|| + (($myconfig{vclimit} <= scalar(@values)) + ? qq|| : (NTI($cgi->popup_menu('-name' => 'customer', '-default' => $form->{oldcustomer}, '-onChange' => 'document.getElementById(\'update_button\').click();', '-values' => \@values, '-labels' => \%labels)))) . qq| diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index d2db33c52..0a2c93d8d 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -439,7 +439,7 @@ sub form_header { {vc}"}) . qq|"> | . $locale->text(ucfirst($form->{vc})) . qq| | . - (($myconfig{vclimit} == 1 ) + (($myconfig{vclimit} <= scalar(@values)) ? qq|{vc}"}) . qq|" name="$form->{vc}">| : (NTI($cgi->popup_menu('-name' => "$form->{vc}", '-default' => $form->{"old$form->{vc}"}, '-onChange' => 'document.getElementById(\'update_button\').click();', -- 2.20.1