summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libvcalendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/libcalendaring/libvcalendar.php')
-rw-r--r--plugins/libcalendaring/libvcalendar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php
index 787ca72..b81ae99 100644
--- a/plugins/libcalendaring/libvcalendar.php
+++ b/plugins/libcalendaring/libvcalendar.php
@@ -588,7 +588,7 @@ class libvcalendar implements Iterator
$alarm['trigger'] = $prop->getDateTime();
}
}
- if (!$trigger && ($values = libcalendaring::parse_alaram_value($prop->value))) {
+ if (!$trigger && ($values = libcalendaring::parse_alarm_value($prop->value))) {
$trigger = $values[2];
}
@@ -1057,7 +1057,7 @@ class libvcalendar implements Iterator
else if ($event['alarms']) {
$va = VObject\Component::create('VALARM');
list($trigger, $va->action) = explode(':', $event['alarms']);
- $val = libcalendaring::parse_alaram_value($trigger);
+ $val = libcalendaring::parse_alarm_value($trigger);
if ($val[3])
$va->add('TRIGGER', $val[3]);
else if ($val[0] instanceof DateTime)