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
|
@ -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 New Issue
Block a user