using already read event to check acl (and not just the id causing a read)

This commit is contained in:
Ralf Becker 2010-06-01 09:24:10 +00:00
parent a7fd927ae7
commit 13463578f5

View File

@ -568,8 +568,8 @@ 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;