mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-10 13:08:21 +01:00
Fix for when not the owner of the event to be able to export the event.
This commit is contained in:
parent
60f9dc225d
commit
a8aa9ac8b8
@ -541,8 +541,6 @@
|
||||
}
|
||||
echo $this->view_event($event);
|
||||
|
||||
if($this->bo->owner == $event['owner'])
|
||||
{
|
||||
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
||||
$p->set_file(
|
||||
Array(
|
||||
@ -550,6 +548,8 @@
|
||||
)
|
||||
);
|
||||
|
||||
if($this->bo->owner == $event['owner'])
|
||||
{
|
||||
if ($this->bo->check_perms(PHPGW_ACL_EDIT))
|
||||
{
|
||||
if($event['recur_type'] != MCAL_RECUR_NONE)
|
||||
@ -616,9 +616,7 @@
|
||||
'action_extra_field' => ''
|
||||
);
|
||||
$p->set_var($var);
|
||||
echo $p->fp('out','form_button');
|
||||
|
||||
echo '</center>';
|
||||
echo $p->fp('out','form_button').'</center>';
|
||||
}
|
||||
|
||||
function edit($params='')
|
||||
|
Loading…
Reference in New Issue
Block a user