mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Fixed bug in hamio
This commit is contained in:
parent
951b31a03f
commit
f090ff50a0
1 changed files with 6 additions and 6 deletions
|
|
@ -15,12 +15,12 @@ class Hamio {
|
|||
$json_output = json_decode($json);
|
||||
|
||||
if(isset($json_output)) {
|
||||
$data['callsign'] = $json_output->calls->callsign;
|
||||
$data['name'] = "$json_output->calls->first_name $json_output->calls->last_name";
|
||||
$data['gridsquare'] = $json_output->calls->gridsquare;
|
||||
$data['city'] = ucfirst(strtolower(($json_output->calls->city)));
|
||||
$data['lat'] = ucfirst($json_output->calls->latitude);
|
||||
$data['long'] = ucfirst($json_output->calls->longitude);
|
||||
$data['callsign'] = $json_outputign;
|
||||
$data['name'] = "$json_output->first_name $json_output->last_name";
|
||||
$data['gridsquare'] = $json_output->gridsquare;
|
||||
$data['city'] = ucfirst(strtolower(($json_output->city)));
|
||||
$data['lat'] = ucfirst($json_output->latitude);
|
||||
$data['long'] = ucfirst($json_output->longitude);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue