Don't clean the contact url of feeds
This commit is contained in:
parent
ea3ecd83ea
commit
7f8aee2baa
|
@ -1420,6 +1420,7 @@ function get_gcontact_id($contact) {
|
||||||
fix_alternate_contact_address($contact);
|
fix_alternate_contact_address($contact);
|
||||||
|
|
||||||
// Remove unwanted parts from the contact url (e.g. "?zrl=...")
|
// Remove unwanted parts from the contact url (e.g. "?zrl=...")
|
||||||
|
if ($contact["network"] != NETWORK_FEED)
|
||||||
$contact["url"] = clean_contact_url($contact["url"]);
|
$contact["url"] = clean_contact_url($contact["url"]);
|
||||||
|
|
||||||
$r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 2",
|
$r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 2",
|
||||||
|
|
Loading…
Reference in a new issue