diff --git a/libraries/src/MVC/Model/FormModel.php b/libraries/src/MVC/Model/FormModel.php index c08d362d68f9d..8291f3061a573 100644 --- a/libraries/src/MVC/Model/FormModel.php +++ b/libraries/src/MVC/Model/FormModel.php @@ -200,7 +200,7 @@ public function validate($form, $data, $group = null) if (!empty($dispatcher->getListeners('onUserBeforeDataValidation'))) { @trigger_error( 'The `onUserBeforeDataValidation` event is deprecated and will be removed in 6.0.' - . 'Use the `onContentValidateData` event instead.', + . 'Use the `onContentBeforeValidateData` event instead.', E_USER_DEPRECATED );