Merge pull request #5702 from annando/and-a-notice

and now for something completely different: A removed notice
This commit is contained in:
Tobias Diekershoff
2018-08-30 06:37:39 +02:00
committed by GitHub

View 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;
}