Skip to content

Commit f21de87

Browse files
committed
[WebProfilerBundle] Fixed invalid condition in form panel
1 parent 4c164ca commit f21de87

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<li>
176176
<a href="#details_{{ data.view_vars.id|default("") }}">{{ name }}</a>
177177

178-
{% if data.children|length > 1 %}
178+
{% if data.children is not empty %}
179179
<ul>
180180
{% for childName, childData in data.children %}
181181
{{ _self.form_tree_entry(childName, childData) }}

0 commit comments

Comments
 (0)