Revert default value for AttributeDateTime

This commit is contained in:
Eric Espie
2022-10-12 10:28:10 +02:00
parent 14673ff1f5
commit 8fc8342358

View File

@@ -6022,6 +6022,9 @@ class AttributeDateTime extends AttributeDBField
public function GetDefaultValue(DBObject $oHostObject = null)
{
if (!$this->IsNullAllowed()) {
return date($this->GetInternalFormat());
}
return $this->GetNullValue();
}