mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
remove some more prefixes
This commit is contained in:
parent
15d8e0d422
commit
b433ed7037
@ -821,9 +821,10 @@ class Ldap
|
||||
}
|
||||
foreach($this->schema2egw as $mapping)
|
||||
{
|
||||
if (substr($egwSearchKey, 0, 8) === 'contact_')
|
||||
$matches = null;
|
||||
if (preg_match('/^(egw_addressbook\.)?(contact_)?(.*)$/', $egwSearchKey, $matches))
|
||||
{
|
||||
$egwSearchKey = substr($egwSearchKey, 8);
|
||||
$egwSearchKey = $matches[3];
|
||||
}
|
||||
if(($ldapSearchKey = $mapping[$egwSearchKey]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user