Skip to content

Commit

Permalink
Dev : fixed issue : afterSurveyQuota isn't dispatched
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 6, 2014
1 parent 750910b commit ca6d8ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/frontend_helper.php
Expand Up @@ -1997,6 +1997,7 @@ function checkCompletedQuota($surveyid,$return=false)
$event->set('surveyId', $surveyid);
$event->set('responseId', $_SESSION['survey_'.$surveyid]['srid']);// We allways have a responseId
$event->set('aMatchedQuotas', $aMatchedQuotas);// Give all the matched quota : the first is the active
App()->getPluginManager()->dispatchEvent($event);
$blocks = array();
foreach ($event->getAllContent() as $blockData)
{
Expand Down

0 comments on commit ca6d8ab

Please sign in to comment.