summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-03-30 14:39:43 +0200
committerAleksander Machniak <machniak@kolabsys.com>2012-03-30 14:39:43 +0200
commit0f1437c9987257ca6251d2f91062a1c9eba82e9a (patch)
tree87b96c6d241944d4c15d2ef93f897035e07157f1
parenteb96292fffa8d3161e4be710ebe014a3e40f8b97 (diff)
downloadwebadmin-0f1437c9987257ca6251d2f91062a1c9eba82e9a.tar.gz
Fix typo
-rw-r--r--lib/Auth/LDAP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 4339c71..1cdec02 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -1140,7 +1140,7 @@ class LDAP
$search_results = ldap_search($this->conn, $root_dn, $search_filter);
- if (!$search_result || ldap_count_entries($this->conn, $search_results) == 0) {
+ if (!$search_results || ldap_count_entries($this->conn, $search_results) == 0) {
//message("No entries found for the user dn in " . __METHOD__);
return false;
}