From 504627a7386534da6bb96c4fa6f1f8bfe50d9e5b Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 17 Jan 2019 00:55:00 +0100 Subject: [PATCH] www/dbq/dbq.php --- www/dbq/dbq.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index b5c546b1..ec4d8557 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -378,7 +378,7 @@ class DbQ extends nb { $bottom[] = 'Database: '.preg_replace(array_keys($r),$r,$this->db->pdo); } - if ($bottom and $this->is_html) echo $this->page->tag( + if (!empty($bottom) and $this->is_html) echo $this->page->tag( 'div id="page-bottom" class="block bottom border rounded p-2 d-table"',join('
'.NB_EOL,$bottom) ); } -- 2.47.3