From: Roland Häder Date: Sun, 19 Jun 2022 09:25:52 +0000 (+0200) Subject: Some calls saved X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c0d7f8944d0ed144b4d2e64a31217812023ae38d;p=friendica.git Some calls saved --- diff --git a/src/Model/GServer.php b/src/Model/GServer.php index 381a39c23b..e5c1bb3b69 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -535,7 +535,7 @@ class GServer $serverdata['last_contact'] = DateTimeFormat::utcNow(); $serverdata['failed'] = false; - $gserver = DBA::selectFirst('gserver', ['network'], ['nurl' => Strings::normaliseLink($url)]); + $gserver = DBA::selectFirst('gserver', ['network'], ['nurl' => $serverdata['nurl']]); if (!DBA::isResult($gserver)) { $serverdata['created'] = DateTimeFormat::utcNow(); $ret = DBA::insert('gserver', $serverdata);