mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
Fixed get_email_array_from_ldap_attr 2nd parameter error
This commit is contained in:
@ -194,7 +194,7 @@ class ModelGroupGroup extends Model {
|
||||
$query = $ldap->query(LDAP_BASE_DN, "(&(objectClass=" . LDAP_ACCOUNT_OBJECTCLASS . ")(" . LDAP_MAIL_ATTR . "=" . $username_prefix . $s . "*))", array());
|
||||
|
||||
if(isset($query->rows)) {
|
||||
$emails = $this->model_user_auth->get_email_array_from_ldap_attr($query->rows);
|
||||
$emails = $this->model_user_auth->get_email_array_from_ldap_attr($query->rows, LDAP_DISTRIBUTIONLIST_OBJECTCLASS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user