Removed surname and made returned callsign uppercase in hamio search results

pull/109/head
Peter Goodhall 2012-11-14 16:17:30 +00:00
rodzic 5b0b8c6a67
commit 633b270f13
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -15,8 +15,8 @@ class Hamio {
$json_output = json_decode($json);
if(isset($json_output)) {
$data['callsign'] = $callsign;
$data['name'] = "$json_output->first_name $json_output->last_name";
$data['callsign'] = strtoupper($callsign);
$data['name'] = $json_output->first_name;
$data['gridsquare'] = $json_output->gridsquare;
$data['city'] = ucfirst(strtolower(($json_output->city)));
$data['lat'] = ucfirst($json_output->latitude);