CIM69 - Car database
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user