From 499601cd1724dd9f0d2b40bc2672ecb20669a982 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 18 Nov 2014 15:04:13 +0000 Subject: [PATCH] fix not being able to accept/reject invitation, if only a participants --- calendar/inc/class.calendar_uiforms.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 00ea5cc675..8acaac5be8 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1424,8 +1424,8 @@ class calendar_uiforms extends calendar_ui $content['participants'][$row]['delete_id'] = strpbrk($uid,'"\'<>') !== false ? md5($uid) : $uid; //echo "

$uid ($quantity): $role --> {$content['participants'][$row]['role']}

\n"; - if (!$this->bo->check_status_perms($uid,$event)) - $readonlys['participants'][$row]['status'] = true; + if (($no_status = !$this->bo->check_status_perms($uid,$event)) || $view) + $readonlys['participants'][$row]['status'] = $no_status; if ($preserv['hide_delete'] || !$this->bo->check_perms(EGW_ACL_EDIT,$event)) $readonlys['participants']['delete'][$uid] = true; // todo: make the participants available as links with email as title