From ca6d8ab9f034837be7d89bd89004d193573a369c Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Mon, 6 Oct 2014 08:48:18 +0200 Subject: [PATCH] Dev : fixed issue : afterSurveyQuota isn't dispatched --- application/helpers/frontend_helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/helpers/frontend_helper.php b/application/helpers/frontend_helper.php index bfbcfb65ec0..f12a5939daa 100644 --- a/application/helpers/frontend_helper.php +++ b/application/helpers/frontend_helper.php @@ -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) {