bug #17527 fixed undefined variable (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

fixed undefined variable

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #16653
| License       | MIT
| Doc PR        | n/a

Commits
-------

4b21351 fixed undefined variable
This commit is contained in:
Fabien Potencier 2016-01-25 17:23:42 +01:00
commit ca96e334b4

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 %}