[WebProfilerBundle] Fixed template to work with the new behavior of {% set %}

This commit is contained in:
Christophe Coevoet 2011-02-19 16:54:34 +01:00
parent 418655e571
commit 857a9f3b8b

View File

@ -19,7 +19,7 @@
<ul>
{% for name, template in templates %}
{% set menu %}{{ template.renderBlock('menu', { 'collector': profiler.get(name)}) }}{% endset %}
{% if menu %}
{% if menu != '' %}
<li
{% if name == panel %}class="selected"{% endif %}
>