From b1db66a28e2081f440b0e515a12475b3a7abdf1c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 21 Mar 2011 14:14:18 +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 806ef3f5ea..6ef88e8b95 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -1638,7 +1638,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; }