diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 814bbc988..6f8382f26 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1205,7 +1205,7 @@ $(document).ready(function() { function printAttributeEditField($attrdef, $attribute, $fieldname='attributes', $norequire=false) { /* {{{ */ switch($attrdef->getType()) { case SeedDMS_Core_AttributeDefinition::type_boolean: - echo "getId()."]\" value=\"0\" />"; + echo "getId()."]\" value=\"\" />"; echo "getId()."\" name=\"".$fieldname."[".$attrdef->getId()."]\" value=\"1\" ".(($attribute && $attribute->getValue()) ? 'checked' : '')." />"; break; case SeedDMS_Core_AttributeDefinition::type_date: