From: Michael Date: Tue, 21 Jan 2020 19:15:38 +0000 (+0000) Subject: Fix: unknown variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b8239f63fdcf2873c64f2a7617bc5780491b932;p=friendica.git Fix: unknown variable --- diff --git a/src/Model/GContact.php b/src/Model/GContact.php index 206e7049d0..f669138d76 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -902,7 +902,7 @@ class GContact $curlResult = Network::curl($data['poll']); if (!$curlResult->isSuccess()) { $fields = ['last_failure' => DateTimeFormat::utcNow()]; - DBA::update('gcontact', $fields, ['nurl' => Strings::normaliseLink($profile)]); + DBA::update('gcontact', $fields, ['nurl' => Strings::normaliseLink($data['url'])]); Logger::info("Profile wasn't reachable (no feed)", ['url' => $data['url']]); return;