Update src/Model/Contact.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022.09-rc
Michael Vogel 2020-07-30 22:39:09 +02:00 zatwierdzone przez GitHub
rodzic 113e8d910b
commit 43b4841fa6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3006,7 +3006,7 @@ class Contact
return array_slice($contacts, $start, $limit);
}
// The query returns contacts where contacts interacted with who also interacted with the given user.
// The query returns contacts where contacts interacted with whom also interacted with the given user.
// Contacts who already are in the user's contact table are ignored.
$results = DBA::select('contact', [],
["`id` IN (SELECT `cid` FROM `contact-relation` WHERE `relation-cid` IN