mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' - month view
This commit is contained in:
parent
6bc609c68b
commit
168b5640f6
@ -92,6 +92,10 @@ class calendar_uiforms extends calendar_ui
|
||||
if (isset($_GET['owner']))
|
||||
{
|
||||
$owner = $_GET['owner'];
|
||||
if(!is_array($owner) && strpos($owner, ','))
|
||||
{
|
||||
$owner = explode(',',$owner);
|
||||
}
|
||||
if(is_array($owner))
|
||||
{
|
||||
if($this->cal_prefs['default_participant'])
|
||||
@ -109,6 +113,7 @@ class calendar_uiforms extends calendar_ui
|
||||
{
|
||||
$owner = !$this->cal_prefs['default_participant'] ? $this->user : $this->owner;
|
||||
}
|
||||
error_log(__METHOD__ . ' owner: ' . array2string($owner));
|
||||
|
||||
if (!$owner || !is_numeric($owner) || $GLOBALS['egw']->accounts->get_type($owner) != 'u' ||
|
||||
!$this->bo->check_perms(Acl::ADD,0,$owner))
|
||||
|
Loading…
Reference in New Issue
Block a user