From f83cfe763f5951c0ad979077f831fbd2a8c5835a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 21 Mar 2011 14:14:57 +0000 Subject: [PATCH] * Calendar: store async job of alarm with alarm owner as owner to get eg. the correct from address --- calendar/inc/class.calendar_so.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index c06ad94235..2446e18fe7 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -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; }