mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
Skip Contact::getDetailsByURL when url is empty in GContact::searchByName
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-602169147
This commit is contained in:
parent
3b3085369c
commit
1187742c14
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class GContact
|
|||
|
||||
// Ignore results that look strange.
|
||||
// For historic reasons the gcontact table does contain some garbage.
|
||||
if (!empty($urlparts['query']) || !empty($urlparts['fragment'])) {
|
||||
if (empty($result['nurl']) || !empty($urlparts['query']) || !empty($urlparts['fragment'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue