diff options
author | William Desportes <williamdes@wdes.fr> | 2022-08-15 14:21:00 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2022-08-15 14:21:27 +0300 |
commit | 8b99611988342c12a69fab4940de47898538061b (patch) | |
tree | ed73a9bd1a2017ec4ac5e4cf2600dd93b6f98e0e /templates | |
parent | d0093468d00c1aa8e6c4f524e1060100a5f5a4cb (diff) |
Fix console toolbar render when bookmark feature is disabled and sql debug is enabled
It made the display weird because a empty div was added
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/console/toolbar.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/console/toolbar.twig b/templates/console/toolbar.twig index b16c29042d..019681466c 100644 --- a/templates/console/toolbar.twig +++ b/templates/console/toolbar.twig @@ -1,6 +1,6 @@ <div class="toolbar {{ parent_div_classes }}"> {% for content in content_array %} - {% if content is defined %} + {% if content is defined and content is not null %} <div class="{{ content[0] }}"> {{ content['image'] is defined ? content['image']|raw }} <span>{{ content[1] }}</span> |