Skip to content

Commit

Permalink
Use correct extension hook
Browse files Browse the repository at this point in the history
Co-Authored-By: Mojmir Fendek <[email protected]>
  • Loading branch information
Aaron Carlino and mfendeksilverstripe authored Jan 13, 2020
1 parent d17b843 commit 71ff7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/Form/FormSubmissionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FormSubmissionListener extends Extension
* @param $vars
* @param Form $form
*/
public function afterCallFormHandler (HTTPRequest $request, $funcName, $vars, $form): void
public function afterCallFormHandlerController(HTTPRequest $request, $funcName, $vars, $form): void
{
Dispatcher::singleton()->trigger(
'formSubmitted',
Expand Down

0 comments on commit 71ff7e1

Please sign in to comment.