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.

pull/125/head
Corby Krick 2013-02-14 20:07:24 -06:00
rodzic 86ce285665
commit 29c760db56
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(strtoupper($row->COL_GRIDSQUARE)));
$lat = $stn_loc[0];
$lng = $stn_loc[1];
} else {