File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ public function process()
230
230
$ event = new Event ('Action.onAuth ' , $ this , ['action ' => $ this ]);
231
231
$ this ->Auth ->authCheck ($ event );
232
232
233
- $ event = $ this ->dispatchEvent ('Action.beforeValidate ' , compact ( ' data ' ) );
233
+ $ event = $ this ->dispatchEvent ('Action.beforeValidate ' , [] );
234
234
235
235
if ($ event ->isStopped ()) {
236
236
$ this ->dispatchEvent ('Action.beforeValidateStopped ' , []);
@@ -243,7 +243,7 @@ public function process()
243
243
throw new ValidationException (__ ('Validation failed ' ), 0 , null , []);
244
244
}
245
245
246
- $ event = $ this ->dispatchEvent ('Action.beforeExecute ' , compact ( ' data ' ) );
246
+ $ event = $ this ->dispatchEvent ('Action.beforeExecute ' , [] );
247
247
248
248
if ($ event ->isStopped ()) {
249
249
$ this ->dispatchEvent ('Action.beforeExecuteStopped ' , []);
You can’t perform that action at this time.
0 commit comments