mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-04 18:21:35 +01:00
* LDAP/Univention: fix not imported or read group mail address
This commit is contained in:
parent
700afc2da7
commit
8d144dbb15
@ -976,7 +976,7 @@ class Ldap
|
||||
$filter .= "(modifytimestamp>=".gmdate('YmdHis', $param['modified']).".0Z)";
|
||||
}
|
||||
$filter .= ')';
|
||||
$allValues = $this->vlvSortQuery($this->group_context, $filter, ['cn', 'gidNumber', 'entryuuid'], $order_by, $start, $offset, $group_total);
|
||||
$allValues = $this->vlvSortQuery($this->group_context, $filter, ['cn', 'gidNumber', 'entryuuid', static::MAIL_ATTR], $order_by, $start, $offset, $group_total);
|
||||
$totalcount += $group_total;
|
||||
foreach($allValues ?: [] as $allVals)
|
||||
{
|
||||
@ -993,6 +993,7 @@ class Ldap
|
||||
'account_lastname' => lang('Group'),
|
||||
'account_status' => 'A',
|
||||
'account_fullname' => Api\Translation::convert($allVals['cn'][0],'utf-8'),
|
||||
'account_email' => Api\Translation::convert($allVals[static::MAIL_ATTR][0],'utf-8'),
|
||||
);
|
||||
//if (isset($totalcount)) ++$totalcount;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user