summaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/DAV/Property/Href.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-27 16:33:10 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-27 16:33:10 +0200
commit894d44e796bf99882383fcee42f754c5d9d6828b (patch)
tree848094d3e67f86a337b9be332108fe571334303c /3rdparty/Sabre/DAV/Property/Href.php
parentc1c76539cc2878c058de15892dd05d6dd8b4b9a5 (diff)
parentb2b84f3a6f3c98005f80c6c7c558a33b4ea36193 (diff)
downloadnextcloud-server-894d44e796bf99882383fcee42f754c5d9d6828b.tar.gz
nextcloud-server-894d44e796bf99882383fcee42f754c5d9d6828b.zip
Merge remote-tracking branch 'git://github.com/susinths/SabreDAV_1.7.1.git'
Conflicts: lib/base.php
Diffstat (limited to '3rdparty/Sabre/DAV/Property/Href.php')
-rw-r--r--[-rwxr-xr-x]3rdparty/Sabre/DAV/Property/Href.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/Sabre/DAV/Property/Href.php b/3rdparty/Sabre/DAV/Property/Href.php
index dac564f24d7..cd1d867f71b 100755..100644
--- a/3rdparty/Sabre/DAV/Property/Href.php
+++ b/3rdparty/Sabre/DAV/Property/Href.php
@@ -82,7 +82,7 @@ class Sabre_DAV_Property_Href extends Sabre_DAV_Property implements Sabre_DAV_Pr
*/
static function unserialize(DOMElement $dom) {
- if (Sabre_DAV_XMLUtil::toClarkNotation($dom->firstChild)==='{DAV:}href') {
+ if ($dom->firstChild && Sabre_DAV_XMLUtil::toClarkNotation($dom->firstChild)==='{DAV:}href') {
return new self($dom->firstChild->textContent,false);
}