From 7e3248ca2cebb2faee54575ba711dd8fe1838293 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 3 Aug 2023 10:26:14 +0300 Subject: [PATCH] rename method name --- public/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/search.php b/public/search.php index ab636a7..9d64e7c 100644 --- a/public/search.php +++ b/public/search.php @@ -48,7 +48,7 @@ if (filter_var($q, FILTER_VALIDATE_URL) && preg_match(CRAWL_URL_REGEXP, $q)) { if ($hostURL = Parser::hostURL($q)) { // Host exists - if ($host = $db->getHost(crc32($hostURL->string))) { + if ($host = $db->getHostByCRC32URL(crc32($hostURL->string))) { $hostStatus = $host->status; $hostNsfw = $host->nsfw;