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

This commit is contained in:
Ralf Becker 2007-06-11 12:17:03 +00:00
parent 5e9b8efdb6
commit f03dce0a4d

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