From: Nicolas Boisselier Date: Wed, 24 Jan 2018 03:55:08 +0000 (+0000) Subject: www/dbq/dbq.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=9b131217b5b73144511553f472c1c1b4ce0e5573;p=nb.git www/dbq/dbq.php --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 3b2598fc..54ef072f 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -180,11 +180,11 @@ class DbQ extends nb { $attrs = explode(',',$this->params['table']); } - $search = [ 'filter' => $filter, 'attrs' => $attrs, ]; + if (true and !empty($GLOBALS['DBQ_LDAP'])) { #debug($GLOBALS['DBQ_LDAP']); $ldap = new Ldap($GLOBALS['DBQ_LDAP']);