diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index 51578d3b20..2d980ce731 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -2262,6 +2262,11 @@ class calendar_uiviews extends calendar_ui $users = $resources = array(); foreach(explode(',',$this->owner) as $user) { + if($user === '0') + { + // 0 means current user + $user = $this->user; + } if (!is_numeric($user)) // resources { $resources[$user] = $this->bo->participant_name($user);