diff --git a/calendar/edit_entry.php b/calendar/edit_entry.php index fc6691e8bd..e734fe5679 100755 --- a/calendar/edit_entry.php +++ b/calendar/edit_entry.php @@ -125,11 +125,11 @@ $phpgw->calendar->event->priority = 2; if($phpgw_info['user']['preferences']['calendar']['default_private'] == 'Y' || $phpgw_info['user']['preferences']['calendar']['default_private'] == True) { - $phpgw->calendar->event_set_class(False); + $phpgw->calendar->event_set_class($cal_stream,False); } else { - $phpgw->calendar->event_set_class(True); + $phpgw->calendar->event_set_class($cal_stream,True); } $phpgw->calendar->event_set_recur_none($cal_stream);