[WebProfilerBundle] Fixed template to work with the new behavior of {% set %}
This commit is contained in:
parent
418655e571
commit
857a9f3b8b
@ -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 %}
|
||||
>
|
||||
|
Reference in New Issue
Block a user