From ea157ce34dd40fe035743412838dbf957aa73c37 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 12 Jun 2012 16:18:34 +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 {