"fix for bug #89: Can't add alarms to existing calendar event series"

This commit is contained in:
Ralf Becker 2007-05-07 11:26:31 +00:00
parent 1f463e21a1
commit 99fe436512

View File

@ -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,
);