* eMail/ActiveDirectory: fixed not working autocomplete of accounts

This commit is contained in:
Ralf Becker 2013-07-01 12:06:54 +00:00
parent 1bbe643808
commit 7116826306

View File

@ -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);
// additionally search the accounts, if the contact storage is not the account storage
if ($showAccounts &&
$GLOBALS['egw_info']['server']['account_repository'] == 'ldap' &&
$GLOBALS['egw_info']['server']['account_repository'] != 'sql' &&
$GLOBALS['egw_info']['server']['contact_repository'] == 'sql')
{
$accounts = $GLOBALS['egw']->contacts->search(array(