diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 95553ff6f2..54efaa12a7 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -6022,9 +6022,6 @@ class AttributeDateTime extends AttributeDBField public function GetDefaultValue(DBObject $oHostObject = null) { - if (!$this->IsNullAllowed()) { - return date($this->GetInternalFormat()); - } return $this->GetNullValue(); }