diff --git a/library/includes/functions.php b/library/includes/functions.php index 62d878478..e490ad930 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -2222,7 +2222,10 @@ function infoByIP(string $ipAddress, int $port = 0): array } if (empty($data)) { - $data = ['timestamp' => TIMENOW]; + $data = [ + 'response' => false, + 'timestamp' => TIMENOW + ]; } CACHE('bb_ip2countries')->set($cacheName, $data, 1200); }