diff --git a/calendar/edit_entry_handler.php b/calendar/edit_entry_handler.php index cbbc039fa1..65b7eab0e4 100755 --- a/calendar/edit_entry_handler.php +++ b/calendar/edit_entry_handler.php @@ -188,7 +188,7 @@ reset($participants); 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);