diff options
-rw-r--r-- | lib/activity.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/activity.php b/lib/activity.php index 5b304020d..8546b474d 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -347,6 +347,11 @@ class ActivityUtils $els = $element->childNodes; foreach ($els as $link) { + + if (!($link instanceof DOMElement)) { + continue; + } + if ($link->localName == self::LINK && $link->namespaceURI == self::ATOM) { $linkRel = $link->getAttribute(self::REL); |