]> git.mxchange.org Git - friendica-addons.git/blobdiff - dav/common/calendar_rendering.fnk.php
Set notifications of events; the actual notification routine is not yet implemented
[friendica-addons.git] / dav / common / calendar_rendering.fnk.php
index b6c009dbb997ef7f167072455529316bd31c5180..e97de36b569ac254a9aa1848df2792c21a9f0496 100644 (file)
@@ -12,7 +12,7 @@ function renderCalDavEntry_calcalarm(&$alarm, &$parent)
 {
        $trigger = $alarm->__get("TRIGGER");
        if (!isset($trigger['VALUE']) || strtoupper($trigger['VALUE']) === 'DURATION') {
-               $triggerDuration = Sabre_VObject_DateTimeParser::parseDuration($trigger);
+               $triggerDuration = Sabre_VObject_DateTimeParser::parseDuration($trigger->value);
 
                $related = (isset($trigger['RELATED']) && strtoupper($trigger['RELATED']) == 'END') ? 'END' : 'START';