Avoid a fatal error
This commit is contained in:
parent
ee6cceba30
commit
cceb497bd5
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ class DFRN
|
||||||
private static function addAuthor(DOMDocument $doc, array $owner, $authorelement, $public)
|
private static function addAuthor(DOMDocument $doc, array $owner, $authorelement, $public)
|
||||||
{
|
{
|
||||||
// Should the profile be "unsearchable" in the net? Then add the "hide" element
|
// 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);
|
$author = $doc->createElement($authorelement);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue