]> git.mxchange.org Git - friendica.git/commitdiff
Avoid a fatal error
authorMichael <heluecht@pirati.ca>
Sun, 16 Feb 2020 15:45:26 +0000 (15:45 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 16 Feb 2020 15:45:26 +0000 (15:45 +0000)
src/Protocol/DFRN.php

index d998c9383c5167acd167689b74f1708b3f81a2ba..f065cd67ece671fc14b803cb159068c36320ce8c 100644 (file)
@@ -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);