]> git.mxchange.org Git - friendica.git/commitdiff
Fix: unknown variable
authorMichael <heluecht@pirati.ca>
Tue, 21 Jan 2020 19:15:38 +0000 (19:15 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 21 Jan 2020 19:15:38 +0000 (19:15 +0000)
src/Model/GContact.php

index 206e7049d08dc30b257d33469874571008a245c8..f669138d76b0e591537e809aaad9b4d20d28512b 100644 (file)
@@ -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;