From 4d3a28d504728347b9856fd5ff1aa5a5abb1af7c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 2 Jun 2007 11:00:46 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20si=20le=20DN=20des=20users=20est=20diff?= =?UTF-8?q?=E9rente=20du=20DN=20de=20l'admin=20on=20cherche=20dans=20le=20?= =?UTF-8?q?domaine=20en=20entier=20afin=20de=20trouver=20l'admin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/ldap.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/ldap.class.php b/htdocs/lib/ldap.class.php index 5881f9c4f9d..2fff063cde5 100644 --- a/htdocs/lib/ldap.class.php +++ b/htdocs/lib/ldap.class.php @@ -981,7 +981,7 @@ class Ldap $this->result = @ldap_search($this->connection, $this->people, $filter); // Si pas de résultat on cherche dans le domaine - if (!this->result) $this->result = @ldap_search($this->connection, $this->domain, $filter); + if (!$this->result) $this->result = @ldap_search($this->connection, $this->domain, $filter); $result = @ldap_get_entries( $this->connection, $this->result);