]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Fix a notice
[friendica.git] / 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 {