Don't clean the contact url of feeds

This commit is contained in:
Michael Vogel 2016-04-20 09:31:36 +02:00 committed by Roland Haeder
parent 49ca25f81a
commit 598ed2bdf3
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -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"])));