]> git.mxchange.org Git - friendica.git/commitdiff
Fix message "empty network" in gcontact::getid
authorMichael <heluecht@pirati.ca>
Fri, 10 Jul 2020 19:49:11 +0000 (19:49 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 10 Jul 2020 19:49:11 +0000 (19:49 +0000)
src/Protocol/DFRN.php

index cd9fc0ca144f83b5327aa9adb5e81b6c092cff88..95780bec7010ae76da26330fa3e6c73e2d3384cf 100644 (file)
@@ -1560,7 +1560,7 @@ class DFRN
                if (DBA::isResult($contact_old) && !$onlyfetch) {
                        Logger::log("Check if contact details for contact " . $contact_old["id"] . " (" . $contact_old["nick"] . ") have to be updated.", Logger::DEBUG);
 
-                       $poco = ["url" => $contact_old["url"]];
+                       $poco = ["url" => $contact_old["url"], "network" => $contact_old["network"]];
 
                        // When was the last change to name or uri?
                        $name_element = $xpath->query($element . "/atom:name", $context)->item(0);