From 61a0b05de18fbe251b39606866b7e3cdbd1b9195 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 1 Aug 2001 11:07:04 +0000 Subject: [PATCH] Fixes 2 parsing errors. --- calendar/inc/class.uicalendar.inc.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index 300aafdde7..cc500a6e39 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -944,7 +944,7 @@ { $cel .= $html->image('calendar','mini-calendar-bar.gif','','border=0'); } - $cel .= $html->image('calendar',count($event['participants)']>1?'multi_3.gif':'single.gif',$this->planner_participants($event['participants']),'border=0'); + $cel .= $html->image('calendar',count($event['participants'])>1?'multi_3.gif':'single.gif',$this->planner_participants($event['participants']),'border=0'); $cel .= ''; $akt_cell = $end_cell + 1; @@ -1982,6 +1982,11 @@ { global $phpgw, $phpgw_info; + if(!$event['participants'][$this->bo->owner]) + { + return '
'.lang('You do not have permission to read this record!').'
'; + } + $pri = Array( 1 => lang('Low'), 2 => lang('Normal'), @@ -2110,7 +2115,7 @@ $str_extra = ''; if ($event['recur_enddate']['mday'] != 0 && $event['recur_enddate']['month'] != 0 && $event['recur_enddate']['year'] != 0) { - $recur_end = $this-bo->maketime($event['recur_enddate']); + $recur_end = $this->bo->maketime($event['recur_enddate']); if($recur_end != 0) { $recur_end -= $this->bo->datetime->tz_offset;