From 146dc5c8cd75dd34b5d0e0f1f214927cdd10ea4b Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 16 Apr 2016 17:01:32 +0200 Subject: [PATCH] Added comment --- include/socgraph.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/socgraph.php b/include/socgraph.php index 8942d8be0c..689957f94d 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -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", -- 2.39.5