]> git.mxchange.org Git - friendica.git/commitdiff
Some calls saved
authorRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 09:25:52 +0000 (11:25 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 09:26:10 +0000 (11:26 +0200)
src/Model/GServer.php

index 381a39c23bf1ce0c036c1d0bea616e7b42156d12..e5c1bb3b697b4c6cf1c0a0d5dbb702ce75af74f5 100644 (file)
@@ -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);