Fix warning

This commit is contained in:
Michael 2020-11-19 21:27:08 +00:00
parent 1acc5ffb38
commit 32e98327a1

View file

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