From 98b5cb33092a2fd1cab8e459c73e9d1c3c5c3d5f Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 22 May 2018 05:16:21 +0100 Subject: [PATCH] www/dbq/dbq.php --- www/dbq/dbq.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 6fb70fc3..2204d55d 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -333,8 +333,6 @@ class DbQ extends nb { } -#if (empty($rows)) bye($rows); -# NB 18.12.17 if (!empty($rows)) $this->db->out($rows,$head,$conf); if (empty($this->_nopage)) { @@ -343,11 +341,13 @@ class DbQ extends nb { if ($this->http->user()) { $bottom[] = 'http->user() ? ' style="background:url(\'' . $this->base . '/ldap/me.jpg?w=20\') right no-repeat;padding-right:22px"' : '') + .(!empty($this->db->conf['ldap']) and $this->http->user() + ? ' style="background:url(\'' . $this->base . '/ldap/me.jpg?w=20\') right no-repeat;padding-right:22px"' + : '' + ) .'>Logout: ' .$this->http->user() .' (can: '.$this->perm2h().')' - #.'' .''; } -- 2.47.3