]> git.mxchange.org Git - friendica.git/commitdiff
Don't clean the contact url of feeds
authorMichael Vogel <icarus@dabo.de>
Wed, 20 Apr 2016 07:31:36 +0000 (09:31 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 20 Apr 2016 07:31:36 +0000 (09:31 +0200)
include/socgraph.php

index 9bbafecffff5632e9573f212f64fc272e7220b5a..be11894d9e63727cc76469906ee76fa643bcfb66 100644 (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"])));