summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2009-03-07 16:23:33 (GMT)
committerMathieu Parent <math.parent@gmail.com>2009-03-07 16:23:33 (GMT)
commitda60d0b6202cb9facb9cd301ff936791b561cbca (patch)
tree05a02c8027a4e7b30642183c627e9fc3e38ff826 /php
parenta0fd99ccb5aab204c76b971917d9e2a42ab64aec (diff)
downloadkolab-webadmin-da60d0b6202cb9facb9cd301ff936791b561cbca.tar.gz
Fix undefined variable $conn in ldap.class.php
Diffstat (limited to 'php')
-rw-r--r--php/admin/include/ldap.class.php.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/admin/include/ldap.class.php.in b/php/admin/include/ldap.class.php.in
index da125dd..97530ae 100644
--- a/php/admin/include/ldap.class.php.in
+++ b/php/admin/include/ldap.class.php.in
@@ -334,7 +334,7 @@ class KolabLDAP {
$res = ldap_search( $this->connection, $mybase, $filter, array('member') );
if( !$res ) {
array_push($errors, _("LDAP Error: Can't read maintainers group: ")
- .ldap_error($conn) );
+ .ldap_error($this->connection) );
return array();
}
$entries = ldap_get_entries( $this->connection, $res );