mirror of
https://github.com/friendica/friendica
synced 2025-04-30 04:24:23 +02:00
Fixed query (not all duplicates had been found)
This commit is contained in:
parent
ef02a1cb7b
commit
503a5be06c
2 changed files with 7 additions and 5 deletions
|
@ -1929,13 +1929,13 @@ class Contact extends BaseObject
|
|||
{
|
||||
$contact = DBA::selectFirst('contact', ['nurl', 'uid', 'id'], ['id' => $contact_id]);
|
||||
if (!DBA::isResult($contact)) {
|
||||
return $ret;
|
||||
return;
|
||||
}
|
||||
|
||||
// Search for duplicated contacts and get rid of them
|
||||
self::handleDuplicates($contact['nurl'], $contact['uid'], $contact['id']);
|
||||
|
||||
return $ret;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue