Browse Source

Don't clean the contact url of feeds

pull/2467/head
Michael Vogel 4 years ago
parent
commit
7f8aee2baa
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      include/socgraph.php

+ 2
- 1
include/socgraph.php 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"])));


Loading…
Cancel
Save