fixed undefined variable

This commit is contained in:
Fabien Potencier 2016-01-25 17:19:48 +01:00
parent 81605dd7c9
commit 4b21351f36

View File

@ -1,4 +1,4 @@
{% if link %}
{% if link|default(true) %}
{% set icon %}
<a href="{{ path('_profiler', { 'token': token, 'panel': name }) }}">{{ icon }}</a>
{% endset %}