From 115676613d4f5a6acd5feb389b156c0da8124af8 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 23 May 2013 13:28:54 +1200 Subject: [PATCH] Only certain specific namespaces actually have database columns. --- inc/DAVResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/DAVResource.php b/inc/DAVResource.php index 36cebf92..f065b10c 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -1803,7 +1803,7 @@ EOQRY; break; default: - $property_value = $this->GetProperty(preg_replace('{^.*:}', '', $tag)); + $property_value = $this->GetProperty(preg_replace('{^(DAV:urn:ietf:params:xml:ns:ca(rd|l)dav):}', '', $tag)); if ( isset($property_value) ) { $reply->NSElement($prop, $tag, $property_value ); }