Skip to content

Commit

Permalink
Fix EZP-20009: Fix the Twig Loader String usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dpobel committed Nov 9, 2012
1 parent b37a216 commit 69ee488
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -85,15 +85,13 @@ public function getTemplateIdentifier()
{% extends "{$layout}" %}
{% block {$options['contentBlockName']} %}
{$contentViewClosure( $params )}
{{ viewResult|raw }}
{% endblock %}
EOT;
return $twig->render(
$twigContentTemplate,
array(
'location' => isset( $params['location'] ) ? $params['location'] : null,
'content' => isset( $params['content'] ) ? $params['content'] : null,
'params' => $params
'viewResult' => $contentViewClosure( $params )
)
);
};
Expand Down

0 comments on commit 69ee488

Please sign in to comment.