added type id

This commit is contained in:
Roland Gruber 2017-12-22 10:43:02 +01:00
parent 7541cf63fe
commit 3c07a0e878
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ class accountContainer {
$searchAttrs = array('*', '+');
foreach ($modules as $module) {
$modTmp = new $module($this->type->getScope());
$searchAttrs = array_merge($searchAttrs, $modTmp->getManagedHiddenAttributes());
$searchAttrs = array_merge($searchAttrs, $modTmp->getManagedHiddenAttributes($this->type->getId()));
}
$result = @ldap_read($_SESSION['ldap']->server(), escapeDN($dn), escapeDN($search), $searchAttrs, 0, 0, 0, LDAP_DEREF_NEVER);
if (!$result) {