* Calendar: store async job of alarm with alarm owner as owner to get eg. the correct from address

This commit is contained in:
Ralf Becker 2011-03-21 14:14:57 +00:00
parent d168bec8ef
commit f83cfe763f

View File

@ -1435,7 +1435,8 @@ ORDER BY cal_user_type, cal_usre_id
}
$alarm['cal_id'] = $cal_id; // we need the back-reference
if (!$this->async->set_timer($alarm['time'],$id,'calendar.calendar_boupdate.send_alarm',$alarm))
// allways store job with the alarm owner as job-owner to get eg. the correct from address
if (!$this->async->set_timer($alarm['time'],$id,'calendar.calendar_boupdate.send_alarm',$alarm,$alarm['owner']))
{
return False;
}