From 08cc16074d8858205aa4c3208874712b47ece59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=CC=81n=20Ma=CC=81te=CC=81?= Date: Mon, 7 Apr 2014 12:28:19 +0200 Subject: [PATCH] Awl interface related changes --- inc/WritableCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/WritableCollection.php b/inc/WritableCollection.php index 267d3897..da6870f6 100644 --- a/inc/WritableCollection.php +++ b/inc/WritableCollection.php @@ -157,7 +157,7 @@ class WritableCollection extends DAVResource { * So we're looking for 'VALUE=DATE', to identify the duration, effectively. * */ - $value_type = $first->GetPParamValue('DTSTART','VALUE'); + $value_type = $first->GetProperty('DTSTART')->GetParameterValue('VALUE'); dbg_error_log('PUT','DTSTART without DTEND. DTSTART value type is %s', $value_type ); if ( isset($value_type) && $value_type == 'DATE' ) $dtend = '(:dtstart::timestamp with time zone::date + \'1 day\'::interval)';