diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-02-02 11:52:55 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-02 18:01:15 +0100 |
commit | d81c00304f8af4cdbc5739d1471f0261bcca6ccf (patch) | |
tree | bc343d6cfbc3e9ff159b86b4e6fc57102b167cda /core/vendor | |
parent | 3a6d065e503def8e9ca47dd6780b9ddbc0772509 (diff) | |
download | nextcloud-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.js | 2 |
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 || ''; }, /** |