]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/oe.pl
vclimit-Vergleich korrigiert
[mfinanz.git] / bin / mozilla / oe.pl
index d2db33c52cd0e722abe91a57ab80e35acecc8045..0a2c93d8de5b753a1c6ca46eda3b2f770e3e6cf1 100644 (file)
@@ -439,7 +439,7 @@ sub form_header {
       <input type="hidden" name="old$form->{vc}" value="| . H($form->{"old$form->{vc}"}) . qq|">
       <th align="right">| . $locale->text(ucfirst($form->{vc})) . qq|</th>
       <td>| . 
-        (($myconfig{vclimit} == 1 
+        (($myconfig{vclimit} <=  scalar(@values)
               ? qq|<input type="text" value="| . H($form->{"old$form->{vc}"}) . qq|" name="$form->{vc}">| 
               : (NTI($cgi->popup_menu('-name' => "$form->{vc}", '-default' => $form->{"old$form->{vc}"}, 
                              '-onChange' => 'document.getElementById(\'update_button\').click();',