diff --git a/forms/CheckboxFieldDisabled.php b/forms/CheckboxFieldDisabled.php
index 51876a501..5b3afeee7 100755
--- a/forms/CheckboxFieldDisabled.php
+++ b/forms/CheckboxFieldDisabled.php
@@ -1,5 +1,6 @@
value) $checked = "checked = \"checked\"";
- return "id() . "\" name=\"{$this->name}\" $checked />";
+ $checked = '';
+ if($this->value)
+ $checked = " checked = \"checked\"";
+ return "id() . "\" name=\"{$this->name}\"$checked />";
}
}
+
?>
\ No newline at end of file