mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed not working account-mirgration from LDAP --> SQL
This commit is contained in:
parent
e1d55562ff
commit
5b6f6cb090
@ -97,6 +97,11 @@ if (!$_POST['migrate'])
|
||||
// fetch the complete data (search reads not everything), plus the members(hips)
|
||||
foreach($accounts as $account_id => $account)
|
||||
{
|
||||
if ($account_id != $account['account_id']) // not all backends have as key the account_id
|
||||
{
|
||||
unset($accounts[$account_id]);
|
||||
$account_id = $account['account_id'];
|
||||
}
|
||||
$accounts[$account_id] = $GLOBALS['egw']->accounts->read($account_id);
|
||||
|
||||
if ($account['account_type'] == 'g')
|
||||
|
Loading…
Reference in New Issue
Block a user