minor #11085 Fixed a html error "Element ul is not closed" in logger.html.twig (hason)

This PR was merged into the 2.3 branch.

Discussion
----------

Fixed a html error "Element ul is not closed" in logger.html.twig

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

Commits
-------

e3bf86f Fixed a html error "Element ul is not closed" in logger.html.twig
This commit is contained in:
Fabien Potencier 2014-06-10 15:39:20 +02:00
commit 6bd80277f1

View File

@ -113,7 +113,9 @@
<li>Called from {{ call.file is defined and call.line is defined ? call.file|format_file(call.line, from) : from|raw }}</li>
{{ index == log.context.stack|length - 1 ? '</ul>' : '' }}
{% if index == log.context.stack|length - 1 %}
</ul>
{% endif %}
{% endfor %}
{% else %}
{{ log.priorityName }} - {{ log.message }}