Small fixes for php3 support.

This commit is contained in:
skeeter 2001-07-28 13:22:58 +00:00
parent 9472646729
commit cba81b9086

View File

@ -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);