From 358cbe812a8459150a0c7d1cc2aecbcb75271391 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 18 Sep 2019 16:37:13 +0000 Subject: [PATCH] Correction: Must be inverted --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index a5c14754ff..23d4ec62d6 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -727,7 +727,7 @@ class Contact extends BaseObject $fields['avatar'] = System::baseUrl() . '/photo/profile/' .$uid . '.' . $file_suffix; $fields['forum'] = $user['page-flags'] == User::PAGE_FLAGS_COMMUNITY; $fields['prv'] = $user['page-flags'] == User::PAGE_FLAGS_PRVGROUP; - $fields['unsearchable'] = $user['hidewall'] || $profile['net-publish']; + $fields['unsearchable'] = $user['hidewall'] || !$profile['net-publish']; // it seems as if ported accounts can have wrong values, so we make sure that now everything is fine. $fields['url'] = System::baseUrl() . '/profile/' . $user['nickname'];