From 619614a95005fdca49cfecf95a0f8d60e94db600 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Thu, 22 Dec 2016 18:52:43 +0100 Subject: [PATCH] Dev: register template question custom assets --- application/helpers/qanda_helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/helpers/qanda_helper.php b/application/helpers/qanda_helper.php index 36e8d4b1c4a..85071b7b5bc 100644 --- a/application/helpers/qanda_helper.php +++ b/application/helpers/qanda_helper.php @@ -142,6 +142,7 @@ function retrieveAnswers($ia) $oQuestion = Question::model()->findByPk(array('qid'=>$ia[0], 'language'=>$lang)); $oQuestionTemplate = QuestionTemplate::getNewInstance($oQuestion); $thissurvey['oQuestionTemplate'] = $oQuestionTemplate; + $oQuestionTemplate->registerAssets(); // Register the custom assets of the question template, if needed switch ($ia[4]) {