mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02: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
|
else
|
||||||
{
|
{
|
||||||
$dayEvents = array();
|
$dayEvents = $owner = array();
|
||||||
$search_params = $this->search_params;
|
$search_params = $this->search_params;
|
||||||
foreach($this->_get_planner_users(false) as $uid => $label)
|
foreach($this->_get_planner_users(false) as $uid => $label)
|
||||||
{
|
{
|
||||||
$search_params['users'] = $uid;
|
$search_params['users'] = $uid;
|
||||||
list(,$dayEvents['<b>'.$label.'</b>']) = each($this->bo->search($search_params));
|
list(,$dayEvents['<b>'.$label.'</b>']) = each($this->bo->search($search_params));
|
||||||
|
$owner[] = $uid;
|
||||||
}
|
}
|
||||||
$owner = $users;
|
|
||||||
}
|
}
|
||||||
$cols = array();
|
$cols = array();
|
||||||
$cols[0] =& $this->timeGridWidget($dayEvents,$this->cal_prefs['interval'],450,'','',$owner);
|
$cols[0] =& $this->timeGridWidget($dayEvents,$this->cal_prefs['interval'],450,'','',$owner);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user