]> git.mxchange.org Git - friendica.git/commitdiff
Added comment
authorMichael Vogel <icarus@dabo.de>
Sat, 16 Apr 2016 15:01:32 +0000 (17:01 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 16 Apr 2016 15:01:32 +0000 (17:01 +0200)
include/socgraph.php

index 8942d8be0c8f1b763275f1b362cb1f7c931e7afe..689957f94d4d4673f993e66d1b41c79d41979b98 100644 (file)
@@ -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",