Fix replacement of alarm values

This commit is contained in:
Thomas Bruederli 2013-11-01 14:47:46 +01:00
parent 875a76c801
commit e2119d0430

View file

@ -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']))