Commit 9fe89c25 by Frédéric

Update BoltFormExtendedExtension.php

parent 9cd2e928
...@@ -21,7 +21,7 @@ class BoltFormExtendedExtension extends SimpleExtension ...@@ -21,7 +21,7 @@ class BoltFormExtendedExtension extends SimpleExtension
*/ */
protected function subscribe(EventDispatcherInterface $dispatcher) protected function subscribe(EventDispatcherInterface $dispatcher)
{ {
$dispatcher->addListener(BoltFormsEvents::SUBMISSION_PRE_PROCESSOR, array($this, 'preSetData')); $dispatcher->addListener(BoltFormsEvents::SUBMISSION_PROCESS_DATABASE, array($this, 'preSetData'));
$dispatcher->addListener(BoltFormsEvents::PRE_EMAIL_SEND, array($this, 'preEmailSend')); $dispatcher->addListener(BoltFormsEvents::PRE_EMAIL_SEND, array($this, 'preEmailSend'));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment