Callbook: if gridsquare returned is jj0aa dont display it
这个提交包含在:
父节点
dda5d4dffb
当前提交
a4d023d225
共有 1 个文件被更改,包括 6 次插入 和 1 次删除
|
|
@ -17,7 +17,12 @@ class Callbytxt {
|
|||
if(isset($json_output)) {
|
||||
$data['callsign'] = $json_output->calls->callsign;
|
||||
$data['name'] = ucfirst(strtolower((current(explode(' ', $json_output->calls->first_name)))));
|
||||
$data['gridsquare'] = ucfirst($json_output->calls->gridsquare);
|
||||
|
||||
if(strtoupper($json_output->calls->gridsquare) == "JJ00AA") {
|
||||
$data['gridsquare'] = "";
|
||||
} else {
|
||||
$data['gridsquare'] = ucfirst($json_output->calls->gridsquare);
|
||||
}
|
||||
|
||||
$data['city'] = ucfirst(strtolower(($json_output->calls->city)));
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用