summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-11-01 13:47:46 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-11-01 13:48:34 (GMT)
commit2784e1a2dd79de0a13fe4cf75ce1d6ce8733d6a3 (patch)
tree8e087d7fed3a1433de317f1f60152548bc45991d
parent5924783b18b5c423e58b30730bfdee00ca6c85b0 (diff)
downloadroundcubemail-plugins-kolab-2784e1a2dd79de0a13fe4cf75ce1d6ce8733d6a3.tar.gz
Fix replacement of alarm values
-rw-r--r--plugins/calendar/drivers/kolab/kolab_calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_calendar.php b/plugins/calendar/drivers/kolab/kolab_calendar.php
index bd42f56..9eb70bd 100644
--- a/plugins/calendar/drivers/kolab/kolab_calendar.php
+++ b/plugins/calendar/drivers/kolab/kolab_calendar.php
@@ -581,7 +581,7 @@ class kolab_calendar
// The web client only supports DISPLAY type of alarms
if (!empty($record['alarms']))
- $record['alarms'] = preg_replace('/:[A-Z]+$/', 'DISPLAY', $record['alarms']);
+ $record['alarms'] = preg_replace('/:[A-Z]+$/', ':DISPLAY', $record['alarms']);
// remove empty recurrence array
if (empty($record['recurrence']))