forked from extern/egroupware
fix for bug #304: Notification for participants sends wrong date for recurring events
This commit is contained in:
parent
ca398c82e2
commit
15280f17a0
@ -780,6 +780,7 @@ class bocalupdate extends bocal
|
||||
if (isset($status2msg[$status]))
|
||||
{
|
||||
if (!is_array($event)) $event = $this->read($cal_id);
|
||||
if (isset($recur_date)) $event = $this->read($event['id'],$recur_date); //re-read the actually edited recurring event
|
||||
$this->send_update($status2msg[$status],$event['participants'],$event);
|
||||
}
|
||||
}
|
||||
|
@ -289,7 +289,7 @@ class uiforms extends uical
|
||||
}
|
||||
if ($data['old_status'] != $status)
|
||||
{
|
||||
if ($this->bo->set_status($event['id'],$uid,$status,$event['recur_type'] != MCAL_RECUR_NONE ? $event['start'] : 0))
|
||||
if ($this->bo->set_status($event['id'],$uid,$status,$event['recur_type'] != MCAL_RECUR_NONE ? $content['participants']['status_date'] : 0))
|
||||
{
|
||||
// refreshing the calendar-view with the changed participant-status
|
||||
$msg = lang('Status changed');
|
||||
|
Loading…
Reference in New Issue
Block a user