forked from extern/egroupware
should now disallow editing of records not allowed to.
This commit is contained in:
parent
e13be15f56
commit
ea0d74b4a6
@ -612,7 +612,7 @@
|
|||||||
|
|
||||||
if(!$this->bo->can_user_edit($event))
|
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();
|
$GLOBALS['phpgw']->common->phpgw_exit();
|
||||||
}
|
}
|
||||||
if(@isset($GLOBALS['HTTP_POST_VARS']['edit_type']) && $GLOBALS['HTTP_POST_VARS']['edit_type'] == 'single')
|
if(@isset($GLOBALS['HTTP_POST_VARS']['edit_type']) && $GLOBALS['HTTP_POST_VARS']['edit_type'] == 'single')
|
||||||
|
Loading…
Reference in New Issue
Block a user