This commit is contained in:
Andrea Santaniello 2022-09-20 19:05:06 +02:00
parent 827853ffbd
commit 117ff1d796

View File

@ -57,7 +57,7 @@ function addReport($db, $geoip, $name, $protocol, $port, $ip)
'longitude' => $geoipRecord->location->longitude,
'latitude' => $geoipRecord->location->latitude,
'countrycode' => $geoipRecord->country->isoCode,
'geo' => $geoipRecord->mostSpecificSubdivision->name . " " . $geoipRecord->city->name
'geo' => $geoipRecord->mostSpecificSubdivision->name . ", " . $geoipRecord->city->name
]
);