mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 12:04:54 +01:00
Use current user for owner 0 in planner
This commit is contained in:
parent
29d9adc2b4
commit
4612519199
@ -2262,6 +2262,11 @@ class calendar_uiviews extends calendar_ui
|
||||
$users = $resources = array();
|
||||
foreach(explode(',',$this->owner) as $user)
|
||||
{
|
||||
if($user === '0')
|
||||
{
|
||||
// 0 means current user
|
||||
$user = $this->user;
|
||||
}
|
||||
if (!is_numeric($user)) // resources
|
||||
{
|
||||
$resources[$user] = $this->bo->participant_name($user);
|
||||
|
Loading…
Reference in New Issue
Block a user