Merge pull request #125 from skweeker/master

trim gridsquares before sending to Qra
pull/129/merge
Peter Goodhall 2013-02-15 07:07:47 -08:00
commit 3141300186
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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($row->COL_GRIDSQUARE));
$lat = $stn_loc[0];
$lng = $stn_loc[1];
} else {