Upps: now we can also enter contacts+resources again

This commit is contained in:
Ralf Becker 2007-05-08 07:54:42 +00:00
parent 9748cf96be
commit 5609909f00

View File

@ -248,6 +248,8 @@ class uiforms extends uical
{
$status = isset($this->bo->resources[$type]['new_status']) ? ExecMethod($this->bo->resources[$type]['new_status'],$id) : 'U';
$quantity = $content['participants']['quantity'] ? $content['participants']['quantity'] : 1;
if ($uid) $event['participants'][$uid] = $event['participant_types'][$type][$id] =
$status.((int) $quantity > 1 ? (int)$quantity : '');
break;
}
// fall-through for accounts entered as contact