Skip to content

Commit

Permalink
Dev: converted php to twig for subquestions and answer options editin…
Browse files Browse the repository at this point in the history
…g in core template
  • Loading branch information
dominikvitt committed May 29, 2018
1 parent 54aa699 commit d96b13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/questions.php
Expand Up @@ -992,7 +992,7 @@ public function getSubquestionRow($surveyid, $gid, $qid, $codes, $language, $fir
}

$html = '<!-- Inserted Row -->';
$html .= $this->getController()->renderPartial('/admin/survey/Question/subquestionsAndAnswers/'.$view, $aData, true, false);
$html .= App()->twigRenderer->renderAnswerOptions('/admin/survey/Question/subquestionsAndAnswers/'.$view, $aData);
$html .= '<!-- end of Inserted Row -->';
return $html;
}
Expand Down

0 comments on commit d96b13d

Please sign in to comment.