summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--php/admin/include/ldap.class.php.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b1b4f76..5cfc95a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-07 Mathieu Parent <math.parent@gmail.com>
+
+ * php/admin/include/ldap.class.php.in: Fix undefined variable $conn
+
2009-02-16 Richard Bos <richard@radoeka.nl>
* php/admin/templates/settings.tpl: improved layout,
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 );