From dd8fc15bb657d46c68270643e5fd11d547f1db8d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Mar 2004 23:47:20 +0000 Subject: [PATCH] fix for error on demo: bad argument type for implode on line 3466 --- calendar/inc/class.uicalendar.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index 56ff510185..ee6e11ed87 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -3610,11 +3610,12 @@ $starttime = $param['starttime']; $endtime = $param['endtime']; $participants = $param['participants']; + $participants_id = array(); foreach($participants as $part => $nul) { $participants[$part] = $GLOBALS['phpgw']->common->grab_owner_name($part); // Much better for processor :) - $participants_id[] .= $part; + $participants_id[] = $part; } uasort($participants,'strnatcasecmp'); // sort them after their fullname @@ -3641,7 +3642,7 @@ $k = ($j == 0 ? sprintf('%02d',$i).'
':'').sprintf('%02d',$j*$increment); $str .= '' - . '" + . '" . $k." \n"; } }