summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/node.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-23 10:34:01 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-23 10:34:01 +0200
commitbd63fddbf44312f7c388711b6f7b990245654283 (patch)
tree74cdbe0148d7b69b6012243b0c0b1e2cb1e7374f /lib/connector/sabre/node.php
parentc0e37c7d69196ae34a01cfda95394625d79e7c29 (diff)
downloadnextcloud-server-bd63fddbf44312f7c388711b6f7b990245654283.tar.gz
nextcloud-server-bd63fddbf44312f7c388711b6f7b990245654283.zip
fix broken properties in the database
Diffstat (limited to 'lib/connector/sabre/node.php')
-rw-r--r--lib/connector/sabre/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index a70a1e07215..663970487fb 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -142,7 +142,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
public function updateProperties($properties) {
$existing = $this->getProperties(array());
foreach($properties as $propertyName => $propertyValue) {
- $propertyName = preg_replace("/^{.*}/", "", $propertyName); // fix broken property name
+ $propertyName = preg_replace("/^{.*}/", "", $propertyName); // remove leading namespace from property name
// If it was null, we need to delete the property
if (is_null($propertyValue)) {
if(array_key_exists( $propertyName, $existing )){