mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 20:04:30 +01:00
* eMail/ActiveDirectory: fixed not working autocomplete of accounts
This commit is contained in:
parent
1bbe643808
commit
7116826306
@ -43,7 +43,7 @@ class ajax_contacts {
|
|||||||
$contacts = $GLOBALS['egw']->contacts->search(implode(' +',$seStAr),array('n_fn','n_prefix','n_given','n_family','org_name','email','email_home'),'n_fn','','%',false,'OR',array(0,100),$filter);
|
$contacts = $GLOBALS['egw']->contacts->search(implode(' +',$seStAr),array('n_fn','n_prefix','n_given','n_family','org_name','email','email_home'),'n_fn','','%',false,'OR',array(0,100),$filter);
|
||||||
// additionally search the accounts, if the contact storage is not the account storage
|
// additionally search the accounts, if the contact storage is not the account storage
|
||||||
if ($showAccounts &&
|
if ($showAccounts &&
|
||||||
$GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
|
$GLOBALS['egw_info']['server']['account_repository'] != 'sql' &&
|
||||||
$GLOBALS['egw_info']['server']['contact_repository'] == 'sql')
|
$GLOBALS['egw_info']['server']['contact_repository'] == 'sql')
|
||||||
{
|
{
|
||||||
$accounts = $GLOBALS['egw']->contacts->search(array(
|
$accounts = $GLOBALS['egw']->contacts->search(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user