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

This commit is contained in:
Ralf Becker 2014-11-18 15:04:30 +00:00
parent 272521ba87
commit 6c2990b515

View File

@ -1424,8 +1424,8 @@ class calendar_uiforms extends calendar_ui
$content['participants'][$row]['delete_id'] = strpbrk($uid,'"\'<>') !== false ? md5($uid) : $uid; $content['participants'][$row]['delete_id'] = strpbrk($uid,'"\'<>') !== false ? md5($uid) : $uid;
//echo "<p>$uid ($quantity): $role --> {$content['participants'][$row]['role']}</p>\n"; //echo "<p>$uid ($quantity): $role --> {$content['participants'][$row]['role']}</p>\n";
if (!$this->bo->check_status_perms($uid,$event)) if (($no_status = !$this->bo->check_status_perms($uid,$event)) || $view)
$readonlys['participants'][$row]['status'] = true; $readonlys['participants'][$row]['status'] = $no_status;
if ($preserv['hide_delete'] || !$this->bo->check_perms(EGW_ACL_EDIT,$event)) if ($preserv['hide_delete'] || !$this->bo->check_perms(EGW_ACL_EDIT,$event))
$readonlys['participants']['delete'][$uid] = true; $readonlys['participants']['delete'][$uid] = true;
// todo: make the participants available as links with email as title // todo: make the participants available as links with email as title