From: Michael Vogel Date: Wed, 20 Apr 2016 07:31:36 +0000 (+0200) Subject: Don't clean the contact url of feeds X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=598ed2bdf30d9e5e6d31775c03342c0d092e0b88;p=friendica.git Don't clean the contact url of feeds --- diff --git a/include/socgraph.php b/include/socgraph.php index 9bbafecfff..be11894d9e 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1420,7 +1420,8 @@ function get_gcontact_id($contact) { fix_alternate_contact_address($contact); // Remove unwanted parts from the contact url (e.g. "?zrl=...") - $contact["url"] = clean_contact_url($contact["url"]); + if ($contact["network"] != NETWORK_FEED) + $contact["url"] = clean_contact_url($contact["url"]); $r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 2", dbesc(normalise_link($contact["url"])));