Skip to content

Commit 876f15d

Browse files
authored
fixes panel when default connection is specified
Impossible to access an attribute ("adapter") on a string variable... is thrown when default connection is defined, then config is a string name of that connection, not a configuration options
1 parent 1c66c16 commit 876f15d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/views/Panel/configuration.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</tr>
3737
</thead>
3838
<tbody>
39-
{% for name, config in configuration.datasources %}
39+
{% for name, config in configuration.datasources if config is iterable %}
4040
<tr>
4141
<th rowspan="5" style="vertical-align: top;">
4242
{{ name }}

0 commit comments

Comments
 (0)