fixed not working account-mirgration from LDAP --> SQL

This commit is contained in:
Ralf Becker 2007-06-11 12:17:55 +00:00
parent e1d55562ff
commit 5b6f6cb090

View File

@ -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')