diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 6734c024b..411a0e778 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -1985,7 +1985,7 @@ class AttributeDateTime extends AttributeDBField { if (empty($default)) { - $default = date(self::GetDateFormat()); + $default = date($this->GetDateFormat()); } }