Added a trim() to gridsquares to strip off any sort of new-line characters that might be hanging out at the end of the string.
这个提交包含在:
父节点
86ce285665
当前提交
29c760db56
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -133,7 +133,7 @@ margin: 10px 0;
|
|||
|
||||
<?php
|
||||
if($row->COL_GRIDSQUARE != null) {
|
||||
$stn_loc = $this->qra->qra2latlong(strtoupper($row->COL_GRIDSQUARE));
|
||||
$stn_loc = $this->qra->qra2latlong(trim(strtoupper($row->COL_GRIDSQUARE)));
|
||||
$lat = $stn_loc[0];
|
||||
$lng = $stn_loc[1];
|
||||
} else {
|
||||
|
|
|
|||
正在加载…
在新工单中引用