From 8207f03cdd4bd1e4e936c1ae4db73cd623f4fcec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Fri, 5 Mar 2010 14:35:16 +0000 Subject: [PATCH] Store InfoLog entries with ower --- calendar/inc/class.calendar_groupdav.inc.php | 2 +- infolog/inc/class.infolog_bo.inc.php | 2 +- infolog/inc/class.infolog_ical.inc.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index 70757a533e..53728463c6 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -448,7 +448,7 @@ class calendar_groupdav extends groupdav_handler if (is_null($oldEvent) && !$this->bo->check_perms(EGW_ACL_ADD, 0, $user)) { - // we have not permission on this user's calendar + // we have no add permission on this user's calendar if ($this->debug) error_log(__METHOD__."(,$user) we have not enough rights on this calendar"); return '403 Forbidden'; } diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 5eb9b1ad72..88a207af60 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -332,7 +332,7 @@ class infolog_bo } /** - * Check if use is responsible for an entry: he or one of his memberships is in responsible + * Check if user is responsible for an entry: he or one of his memberships is in responsible * * @param array $info infolog entry as array * @return boolean diff --git a/infolog/inc/class.infolog_ical.inc.php b/infolog/inc/class.infolog_ical.inc.php index 97bbf77068..85921e9fc4 100644 --- a/infolog/inc/class.infolog_ical.inc.php +++ b/infolog/inc/class.infolog_ical.inc.php @@ -400,7 +400,7 @@ class infolog_ical extends infolog_bo if (!is_null($user)) { - $taskData['info_responsible'] = array($user); + $taskData['info_owner'] = $user; } if ($this->log)