Awl interface related changes

This commit is contained in:
Ján Máté 2014-04-07 12:28:19 +02:00
parent 9df80fbde1
commit 08cc16074d

View File

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