]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 16 Jan 2019 23:55:00 +0000 (00:55 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 16 Jan 2019 23:55:00 +0000 (00:55 +0100)
www/dbq/dbq.php

index b5c546b16d3abbc2ad7e2b79b1ffcd84cae396c4..ec4d8557a78df0f725f09043d7607964768f1ac7 100644 (file)
@@ -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('<br />'.NB_EOL,$bottom)
                );
        }