From: Michael Date: Sun, 16 Feb 2020 15:45:26 +0000 (+0000) Subject: Avoid a fatal error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cceb497bd5d00e144f3bcbbd8971e8cbba0bff41;p=friendica.git Avoid a fatal error --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index d998c9383c..f065cd67ec 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);