mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:19:43 +01:00
Remove participant restriction on new events to just users or groups, now we add any contacts or resources selected as well
This commit is contained in:
parent
dc8ab4cfc0
commit
fc53782f60
@ -120,15 +120,11 @@ class calendar_uiforms extends calendar_ui
|
|||||||
if (!isset($_GET['participants']) || $_GET['participants'][0] != 'r')
|
if (!isset($_GET['participants']) || $_GET['participants'][0] != 'r')
|
||||||
{
|
{
|
||||||
foreach($owner as $uid)
|
foreach($owner as $uid)
|
||||||
{
|
|
||||||
// only add users or a single ressource, not all ressources displayed by a category
|
|
||||||
if (is_numeric($uid) || $owner == $uid)
|
|
||||||
{
|
{
|
||||||
$extra_participants[] = $uid;
|
$extra_participants[] = $uid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
$owner = $this->user;
|
$owner = $this->user;
|
||||||
}
|
}
|
||||||
//error_log("this->owner=$this->owner, _GET[owner]=$_GET[owner], user=$this->user => owner=$owner, extra_participants=".implode(',',$extra_participants).")");
|
//error_log("this->owner=$this->owner, _GET[owner]=$_GET[owner], user=$this->user => owner=$owner, extra_participants=".implode(',',$extra_participants).")");
|
||||||
|
Loading…
Reference in New Issue
Block a user