mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
950c536d37
commit
87c9d72db9
@ -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