]> git.mxchange.org Git - friendica.git/commitdiff
Fix a notice
authorMichael <heluecht@pirati.ca>
Wed, 6 Nov 2019 19:17:40 +0000 (19:17 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 6 Nov 2019 19:17:40 +0000 (19:17 +0000)
src/Protocol/Diaspora.php

index 74f1e8be3a605622b23e341c60d964db5a36135e..e8c576a94cd09c7dd3cd147a9b3514437d5b989e 100644 (file)
@@ -2476,7 +2476,7 @@ class Diaspora
                        return false;
                }
 
-               $cid = Contact::getIdForURL($ret['url'], $uid);
+               $cid = Contact::getIdForURL($ret['url'], $importer['uid']);
                if (!empty($cid)) {
                        $contact = DBA::selectFirst('contact', [], ['id' => $cid, 'network' => Protocol::NATIVE_SUPPORT]);
                } else {