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
commit 070e1e73d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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