diff --git a/code/elemental/ElementContentExtension.php b/code/elemental/ElementContentExtension.php index a517a50..7a162a6 100644 --- a/code/elemental/ElementContentExtension.php +++ b/code/elemental/ElementContentExtension.php @@ -28,7 +28,7 @@ class ElementContentExtension extends Extension 'MyFile' => File::class, ]; - protected function updatevalidate(ValidationResult $result) + protected function updateValidate(ValidationResult $result) { if ($this->owner->Title == 'x') { $result->addFieldError('Title', 'Title cannot be x');