From: Michael Date: Wed, 6 Nov 2019 19:17:40 +0000 (+0000) Subject: Fix a notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48ab31f451d6fe2afab63fe6760525b9e799d98a;p=friendica.git Fix a notice --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 74f1e8be3a..e8c576a94c 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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 {