Skip to content

Commit

Permalink
Fixed issue : event for beforeTokenEmail for register is not dispatched
Browse files Browse the repository at this point in the history
Dev: oups
  • Loading branch information
Shnoulle committed Mar 31, 2016
1 parent bbebed2 commit 8c82a43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/RegisterController.php
Expand Up @@ -253,6 +253,7 @@ public function sendRegistrationEmail($iSurveyId,$iTokenId){
$event->set('from', $sFrom);
$event->set('bounce',$sBounce );
$event->set('token', $oToken->attributes);
App()->getPluginManager()->dispatchEvent($event);
$aMail['subject'] = $event->get('subject');
$aMail['message'] = $event->get('body');
$sTo = $event->get('to');
Expand Down

0 comments on commit 8c82a43

Please sign in to comment.