Skip to content

Commit

Permalink
Dev: comment about beforeCloseHtml can not use renderPartial
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jul 20, 2018
1 parent cf78888 commit fe97c13
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions application/core/LSETwigViewRenderer.php
Expand Up @@ -509,9 +509,7 @@ public function addExtensions($extensions)

/**
* get a twig file and return html produced
* @todo find a way to fix this …
* Twig didn't have any return part and usage of this function throw a white page (called during ob_start…)
* Usage of $this->renderFile(Yii::app()->getController(),$twigView,$aData,1) broke too
* @todo find a way to fix in beforeCloseHtml @see https://bugs.limesurvey.org/view.php?id=13889
* @param string $twigView twigfile to be used (with twig extension)
* @param array $aData to be used
* @return string
Expand Down

0 comments on commit fe97c13

Please sign in to comment.