CIM69 - Car database

This commit is contained in:
“VeLiTi”
2024-04-23 17:09:31 +02:00
parent 5f89767faf
commit 0b4ba34ea5
12 changed files with 604 additions and 10 deletions

View File

@@ -221,7 +221,7 @@ $view .= '
$changelog = showlog('equipment',$equipment_ID)?? '';
//GEOLOCATION
$geo_details = json_decode($equipment['geolocation']) ?? '';
$geo_details = (is_string($equipment['geolocation']))? json_decode($equipment['geolocation']) : '';
if (is_array($geo_details)) {
$geodetails_lat = $geo_details[0];
$geodetails_lon = $geo_details[1];