Avoid a fatal error

pull/8296/head
Michael 2020-02-16 15:45:26 +00:00
rodzic ee6cceba30
commit cceb497bd5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);