From 2da30ad703e71833a898fc91de1ca632aeb1dbc2 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 12 Jun 2012 16:17:25 +0000 Subject: [PATCH] fix of typos --- calendar/inc/class.calendar_boupdate.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index f0e2adbc1e..4cbefb3085 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -575,11 +575,12 @@ class calendar_boupdate extends calendar_bo } 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) { - $prefs = new preferences($account_id); + $pref_obj = new preferences($account_id); + $prefs = $pref_obj->read_repository(); } else {