X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fis.pl;h=81ba52141c6994b70ead13dbb1d7bf0a3bcbda8c;hb=e9e216f571e214e1d19c43a2b47f04525f4aaddf;hp=e22ab4c4017d2b68daa3c8a71dd6f2ae06e3f8ab;hpb=a426a83959cee5ffc733f14d120677330f873e30;p=kivitendo-erp.git 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|