From cba81b908612cc30dff4bd55482b7af5d5969dfe Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 28 Jul 2001 13:22:58 +0000 Subject: [PATCH] Small fixes for php3 support. --- calendar/inc/class.bocalendar.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.bocalendar.inc.php b/calendar/inc/class.bocalendar.inc.php index c0a1a9795e..6f8df19545 100755 --- a/calendar/inc/class.bocalendar.inc.php +++ b/calendar/inc/class.bocalendar.inc.php @@ -250,11 +250,12 @@ */ } - function update($p_cal=Array(),$p_start=Array(),$p_end=Array(),$p_recur_enddata=Array()) + function update($p_cal=0,$p_participants=0,$p_start=0,$p_end=0,$p_recur_enddata=0) { global $phpgw, $phpgw_info, $readsess, $cal, $participants, $start, $end, $recur_enddate; $cal = ($p_cal?$p_cal:$cal); + $participants = ($p_participants?$p_participants:$participants); $start = ($p_start?$p_start:$start); $end = ($p_end?$p_end:$end); $recur_enddate = ($p_recur_enddate?$p_recur_enddate:$recur_enddate);