sforkowany z mirror/friendica
Contact search is fixed
rodzic
adfb94d370
commit
041a96555b
|
@ -56,7 +56,7 @@ class Acl extends BaseModule
|
|||
}
|
||||
|
||||
$type = $_REQUEST['type'] ?? self::TYPE_MENTION_CONTACT_GROUP;
|
||||
|
||||
Logger::info('Blubb', ['parameters' => $parameters]);
|
||||
if ($type === self::TYPE_GLOBAL_CONTACT) {
|
||||
$o = self::globalContactSearch();
|
||||
} else {
|
||||
|
@ -81,7 +81,7 @@ class Acl extends BaseModule
|
|||
$contacts[] = [
|
||||
'photo' => Contact::getMicro($contact),
|
||||
'name' => htmlspecialchars($contact['name']),
|
||||
'nick' => $contact['nick'],
|
||||
'nick' => $contact['addr'] ?: $contact['url'],
|
||||
'network' => $contact['network'],
|
||||
'link' => $contact['url'],
|
||||
'forum' => $contact['contact-type'] == Contact::TYPE_COMMUNITY,
|
||||
|
|
Ładowanie…
Reference in New Issue