mirror of
https://github.com/friendica/friendica
synced 2024-12-23 19:20:17 +00:00
Added comment
This commit is contained in:
parent
ec86289be2
commit
7c68e14b3d
1 changed files with 1 additions and 0 deletions
|
@ -1390,6 +1390,7 @@ function get_gcontact_id($contact) {
|
|||
if ($contact["network"] == NETWORK_STATUSNET)
|
||||
$contact["network"] = NETWORK_OSTATUS;
|
||||
|
||||
// Remove unwanted parts from the contact url (e.g. "?zrl=...")
|
||||
$contact["url"] = clean_contact_url($contact["url"]);
|
||||
|
||||
$r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 2",
|
||||
|
|
Loading…
Reference in a new issue