From cceb497bd5d00e144f3bcbbd8971e8cbba0bff41 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 16 Feb 2020 15:45:26 +0000 Subject: [PATCH] Avoid a fatal error --- src/Protocol/DFRN.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index d998c9383..f065cd67e 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -640,7 +640,7 @@ class DFRN private static function addAuthor(DOMDocument $doc, array $owner, $authorelement, $public) { // Should the profile be "unsearchable" in the net? Then add the "hide" element - $hide = DBA::exists('profile', ['uid' => $owner['uid'], 'net-publish' = false]); + $hide = DBA::exists('profile', ['uid' => $owner['uid'], 'net-publish' => false]); $author = $doc->createElement($authorelement);