Skip to content

Commit 534b63d

Browse files
authored
Fix typo in replacement event name for onUserBeforeDataValidation (#45296)
1 parent 2a825d6 commit 534b63d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/MVC/Model/FormModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function validate($form, $data, $group = null)
200200
if (!empty($dispatcher->getListeners('onUserBeforeDataValidation'))) {
201201
@trigger_error(
202202
'The `onUserBeforeDataValidation` event is deprecated and will be removed in 6.0.'
203-
. 'Use the `onContentValidateData` event instead.',
203+
. 'Use the `onContentBeforeValidateData` event instead.',
204204
E_USER_DEPRECATED
205205
);
206206

0 commit comments

Comments
 (0)