mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
More fixes for php3 support.
This commit is contained in:
parent
ea0d74b4a6
commit
907dfb7e47
@ -521,7 +521,7 @@
|
||||
}
|
||||
|
||||
$event = $this->get_cached_event();
|
||||
if(!@$event['participants'][$l_cal['owner']])
|
||||
if(!@isset($event['participants'][$l_cal['owner']]))
|
||||
{
|
||||
$this->so->add_attribute('owner',$minparts);
|
||||
}
|
||||
@ -623,7 +623,7 @@
|
||||
|
||||
if(($event['owner'] == $this->owner) && ($this->check_perms(PHPGW_ACL_EDIT) == True))
|
||||
{
|
||||
if($event['public'] != True)
|
||||
if($event['public'] == False || $event['public'] == 0)
|
||||
{
|
||||
if($this->check_perms(PHPGW_ACL_PRIVATE) == True)
|
||||
{
|
||||
|
@ -612,7 +612,7 @@
|
||||
|
||||
if(!$this->bo->can_user_edit($event))
|
||||
{
|
||||
Header('Location: '.$this->page('view','&cal_id='$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')
|
||||
|
Loading…
Reference in New Issue
Block a user