From 285f2382ea19c0d56c45e5670c4b3f34a414a33d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 25 Nov 2014 10:41:06 +0000 Subject: [PATCH] fix not being able to accept/reject group-invitation, if not further rights --- calendar/inc/class.calendar_uiforms.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 8acaac5be8..b878408589 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -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); } }