From 13463578f5f5a78b67ae59a2a4e17a42df3889a6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 1 Jun 2010 09:24:10 +0000 Subject: [PATCH] using already read event to check acl (and not just the id causing a read) --- calendar/inc/class.calendar_ical.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 22c36af84a..801b4ab9dd 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -568,9 +568,9 @@ class calendar_ical extends calendar_boupdate ); } } - if ($this->productManufacturer != 'groupdav' - || !$this->check_perms(EGW_ACL_EDIT,$event['id'])) - { + if ($this->productManufacturer != 'groupdav' || + !$this->check_perms(EGW_ACL_EDIT,$event)) + { $attributes['ORGANIZER'] = $organizerURL; $parameters['ORGANIZER']['CN'] = $organizerCN; if (!empty($organizerUID))