diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index 833e6b8c05..e6aa4ea195 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -612,7 +612,7 @@ if(!$this->bo->can_user_edit($event)) { - $this->view(intval($GLOBALS['HTTP_GET_VARS']['cal_id'])); + Header('Location: '.$this->page('view','&cal_id='$cal_id)); $GLOBALS['phpgw']->common->phpgw_exit(); } if(@isset($GLOBALS['HTTP_POST_VARS']['edit_type']) && $GLOBALS['HTTP_POST_VARS']['edit_type'] == 'single')