Skip to content

Commit e22fe0b

Browse files
committed
Fixes Twig deprecation warning.
1 parent fb9f377 commit e22fe0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Resources/views/Panel/configuration.html.twig

Lines changed: 2 additions & 2 deletions
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 if config is iterable %}
39+
{% for name, config in configuration.datasources %}{% if config is iterable %}
4040
<tr>
4141
<th rowspan="5" style="vertical-align: top;">
4242
{{ name }}
@@ -72,6 +72,6 @@
7272
</ul>
7373
</td>
7474
</tr>
75-
{% endfor %}
75+
{% endif %}{% endfor %}
7676
</tbody>
7777
</table>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"files": ["autoload_aliases.php"],
2222
"exclude-from-classmap": [ "Tests/","vendor/propel/propel1/runtime/lib","vendor/propel/propel1/generator/lib" ]
2323
},
24-
"version": "1.7.3",
24+
"version": "1.7.4",
2525
"require": {
2626
"ext-simplexml": "*",
2727
"ext-pdo": "*",

0 commit comments

Comments
 (0)