should now disallow editing of records not allowed to.

This commit is contained in:
skeeter 2001-09-07 18:33:33 +00:00
parent e13be15f56
commit ea0d74b4a6

View File

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