summaryrefslogtreecommitdiffstats
path: root/core/vendor
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-02-02 11:52:55 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-02 18:01:15 +0100
commitd81c00304f8af4cdbc5739d1471f0261bcca6ccf (patch)
treebc343d6cfbc3e9ff159b86b4e6fc57102b167cda /core/vendor
parent3a6d065e503def8e9ca47dd6780b9ddbc0772509 (diff)
downloadnextcloud-server-d81c00304f8af4cdbc5739d1471f0261bcca6ccf.tar.gz
nextcloud-server-d81c00304f8af4cdbc5739d1471f0261bcca6ccf.zip
Fix parsing empty Webdav property nodes
Return empty string instead of undefined
Diffstat (limited to 'core/vendor')
-rw-r--r--core/vendor/davclient.js/lib/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vendor/davclient.js/lib/client.js b/core/vendor/davclient.js/lib/client.js
index dbdfd3823e4..89c11516a38 100644
--- a/core/vendor/davclient.js/lib/client.js
+++ b/core/vendor/davclient.js/lib/client.js
@@ -243,7 +243,7 @@ dav.Client.prototype = {
}
}
- return content || propNode.textContent || propNode.text;
+ return content || propNode.textContent || propNode.text || '';
},
/**