Small fix for participants and ownership.

This commit is contained in:
skeeter 2001-07-22 00:03:19 +00:00
parent b9c9030893
commit c0e4d73c10

View File

@ -188,7 +188,7 @@
reset($participants); reset($participants);
if(!@$phpgw->calendar->event->participants[$owner]) if(!@$phpgw->calendar->event->participants[$owner])
{ {
$phpgw->calendar->add_attribute('owner',$participants[0]); $phpgw->calendar->add_attribute('owner',min($part));
} }
$phpgw->calendar->add_attribute('priority',$priority); $phpgw->calendar->add_attribute('priority',$priority);