Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2022-08-15 14:21:00 +0300
committerWilliam Desportes <williamdes@wdes.fr>2022-08-15 14:21:27 +0300
commit8b99611988342c12a69fab4940de47898538061b (patch)
treeed73a9bd1a2017ec4ac5e4cf2600dd93b6f98e0e /templates
parentd0093468d00c1aa8e6c4f524e1060100a5f5a4cb (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.twig2
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>