fix of typos

This commit is contained in:
Klaus Leithoff 2012-06-12 16:17:25 +00:00
parent 313eb12f19
commit 2da30ad703

View File

@ -575,11 +575,12 @@ class calendar_boupdate extends calendar_bo
} }
else else
{ {
$account_id = $GLOBALS['egw']->account->name2id($user_or_email, 'account_email'); $account_id = $GLOBALS['egw']->accounts->name2id($user_or_email, 'account_email');
} }
if ($account_id) if ($account_id)
{ {
$prefs = new preferences($account_id); $pref_obj = new preferences($account_id);
$prefs = $pref_obj->read_repository();
} }
else else
{ {