From 144a90237a809caff8815f88108749e29a5877e8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 25 Nov 2014 10:41:32 +0000 Subject: [PATCH] fix not being able to accept/reject group-invitation, if not further rights --- calendar/inc/class.calendar_uiforms.inc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 8acaac5be8..2859f04028 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1174,8 +1174,8 @@ class calendar_uiforms extends calendar_ui * hide_delete boolean hide delete button * no_popup boolean use a popup or not * edit_single int timestamp of single event edited, unset/null otherwise - * @param string $msg msg to display - * @param mixed $li$link_to_idontent from or for the link-widget + * @param string $msg ='' msg to display + * @param mixed $link_to_id ='' from or for the link-widget */ function edit($event=null,$preserv=null,$msg='',$link_to_id='') { @@ -1448,9 +1448,7 @@ class calendar_uiforms extends calendar_ui ); $readonlys['participants'][$row]['quantity'] = $readonlys['participants']['delete'][$member] = true; // read access is enough to invite participants, but you need edit rights to change status - if (!$this->bo->check_perms(EGW_ACL_EDIT,0,$member)) - $readonlys['participants'][$row]['status'] = true; - //$readonlys[$row.'[status]'] = !$this->bo->check_perms(EGW_ACL_EDIT,0,$member); + $readonlys['participants'][$row]['status'] = !$this->bo->check_perms(EGW_ACL_EDIT,0,$member); $content['participants'][$row++]['title'] = common::grab_owner_name($member); } }