diff --git a/model/DataObject.php b/model/DataObject.php index 3f10f4a63..34d9ba93b 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -1001,7 +1001,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity * @return A {@link ValidationResult} object */ protected function validate() { - $result = new ValidationResult(); + $result = ValidationResult::create(); $this->extend('validate', $result); return $result; }