summaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/DAV/Property/Href.php
diff options
context:
space:
mode:
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);
}