From 99fe4365128493d8c58d6f1ae42433478619aa55 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 May 2007 11:26:31 +0000 Subject: [PATCH] "fix for bug #89: Can't add alarms to existing calendar event series" --- calendar/inc/class.uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.uiforms.inc.php b/calendar/inc/class.uiforms.inc.php index fea7869479..826cc78871 100644 --- a/calendar/inc/class.uiforms.inc.php +++ b/calendar/inc/class.uiforms.inc.php @@ -467,7 +467,7 @@ class uiforms extends uical $offset = DAY_s * $content['new_alarm']['days'] + HOUR_s * $content['new_alarm']['hours'] + 60 * $content['new_alarm']['mins']; $alarm = array( 'offset' => $offset, - 'time' => $content['start'] - $offset, + 'time' => ($content['actual_date'] ? $content['actual_date'] : $content['start']) - $offset, 'all' => !$content['new_alarm']['owner'], 'owner' => $content['new_alarm']['owner'] ? $content['new_alarm']['owner'] : $this->user, );