Skip to content

Commit

Permalink
Fixed issue #16241: Only one tip are shown
Browse files Browse the repository at this point in the history
Dev: tip html added to $stringToParse
Dev: todo create a twig receiveing all tips ?
Dev: todo don't send twig result to Expression script
  • Loading branch information
Shnoulle committed May 7, 2020
1 parent fd0dcf5 commit d418e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -6870,7 +6870,7 @@ function ($sqRankAnwsers) {
$tipsDatas = array(

);
$stringToParse = App()->twigRenderer->renderPartial('/survey/questions/question_help/em_tip.twig',array(
$stringToParse .= App()->twigRenderer->renderPartial('/survey/questions/question_help/em_tip.twig',array(
'qid' =>$qid,
'coreId' =>"vmsg_{$qid}_{$vclass}", // If it's not this id : EM is broken
'coreClass' =>"ls-em-tip em_{$vclass}",
Expand Down

0 comments on commit d418e9b

Please sign in to comment.