mirror of
https://github.com/friendica/friendica
synced 2024-11-19 01:03:40 +00:00
Fix warning
This commit is contained in:
parent
1acc5ffb38
commit
32e98327a1
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ class OnePoll
|
|||
$datarray['owner-link'] = "mailto:".$contact['addr'];
|
||||
$datarray['owner-avatar'] = $contact['photo'];
|
||||
|
||||
if ($datarray['thr-parent'] === $datarray['uri']) {
|
||||
if (empty($datarray['thr-parent']) || ($datarray['thr-parent'] === $datarray['uri'])) {
|
||||
$datarray['private'] = Item::PRIVATE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue