]> git.mxchange.org Git - friendica.git/commitdiff
and now for something completely different: A removed notice
authorMichael <heluecht@pirati.ca>
Thu, 30 Aug 2018 04:05:32 +0000 (04:05 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 30 Aug 2018 04:05:32 +0000 (04:05 +0000)
src/Protocol/OStatus.php

index 7052205e1706b57f55689a15865bbb40998efed9..551b4ad8879a2c682ec785acdb46ced1690a3d0b 100644 (file)
@@ -351,7 +351,7 @@ class OStatus
                $header["origin"] = 0;
                $header["gravity"] = GRAVITY_COMMENT;
 
-               if (!is_object($doc->firstChild)) {
+               if (!is_object($doc->firstChild) || empty($doc->firstChild->tagName)) {
                        return false;
                }