From 6b8239f63fdcf2873c64f2a7617bc5780491b932 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 21 Jan 2020 19:15:38 +0000 Subject: [PATCH] Fix: unknown variable --- src/Model/GContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5