mirror of
https://github.com/friendica/friendica
synced 2024-11-18 22:23:42 +00:00
Merge pull request #8149 from annando/fix-warning
Fix: unknown variable
This commit is contained in:
commit
4f29e4c4a7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue