fix not being able to accept/reject invitation, if only a participants

This commit is contained in:
Ralf Becker 2014-11-18 15:04:13 +00:00
parent 90a70f237f
commit 499601cd17

View File

@ -1424,8 +1424,8 @@ class calendar_uiforms extends calendar_ui
$content['participants'][$row]['delete_id'] = strpbrk($uid,'"\'<>') !== false ? md5($uid) : $uid;
//echo "<p>$uid ($quantity): $role --> {$content['participants'][$row]['role']}</p>\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