From 02da8275602ab7b360ebfab8e0e2072d2c39aa42 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 30 Aug 2018 04:05:32 +0000 Subject: [PATCH] and now for something completely different: A removed notice --- src/Protocol/OStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 7052205e17..551b4ad887 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -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; } -- 2.39.5