Skip to content

Commit 94d1b79

Browse files
[WebProfilerBundle] Fix form panel when there are no view vars
1 parent a34ac2c commit 94d1b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Collector/form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@
714714
</tr>
715715
</thead>
716716
<tbody>
717-
{% for variable, value in data.view_vars %}
717+
{% for variable, value in data.view_vars ?? [] %}
718718
<tr>
719719
<th scope="row">{{ variable }}</th>
720720
<td>{{ profiler_dump(value) }}</td>

0 commit comments

Comments
 (0)