mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
fixed bug in day-view with multiple users: sometimes wrong owner/participants were set for new events
This commit is contained in:
parent
6ca6cdcfa9
commit
c30e0699c3
@ -406,14 +406,14 @@ class uiviews extends uical
|
||||
}
|
||||
else
|
||||
{
|
||||
$dayEvents = array();
|
||||
$dayEvents = $owner = array();
|
||||
$search_params = $this->search_params;
|
||||
foreach($this->_get_planner_users(false) as $uid => $label)
|
||||
{
|
||||
$search_params['users'] = $uid;
|
||||
list(,$dayEvents['<b>'.$label.'</b>']) = each($this->bo->search($search_params));
|
||||
$owner[] = $uid;
|
||||
}
|
||||
$owner = $users;
|
||||
}
|
||||
$cols = array();
|
||||
$cols[0] =& $this->timeGridWidget($dayEvents,$this->cal_prefs['interval'],450,'','',$owner);
|
||||
|
Loading…
Reference in New Issue
Block a user