die Checkbox für taxincluded nochmal ohne value
authorThomas Kasulke <t.kasulke@linet-services.de>
Fri, 4 May 2007 09:13:17 +0000 (09:13 +0000)
committerThomas Kasulke <t.kasulke@linet-services.de>
Fri, 4 May 2007 09:13:17 +0000 (09:13 +0000)
bin/mozilla/is.pl

index 4a8b873..50e013b 100644 (file)
@@ -846,12 +846,12 @@ sub form_footer {
   $intnotes =
     qq|<textarea name="intnotes" rows="$rows" cols="35" wrap="soft">$form->{intnotes}</textarea>|;
  
-  $form->{taxincluded} = ($form->{taxincluded} == 1 ? "checked" : "");
+  $form->{taxincluded} = ($form->{taxincluded} ? "checked" : "");
 
   $taxincluded = "";
   if ($form->{taxaccounts}) {
     $taxincluded = qq|
-               <input name="taxincluded" class="checkbox" type="checkbox" value="1" $form->{taxincluded}> <b>|
+               <input name="taxincluded" class="checkbox" type="checkbox" $form->{taxincluded}> <b>|
       . $locale->text('Tax Included') . qq|</b><br><br>|;
   }