From c0e4d73c10d923e04282498daeff60ad1652e7b1 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 22 Jul 2001 00:03:19 +0000 Subject: [PATCH] Small fix for participants and ownership. --- calendar/edit_entry_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);