From 29c760db565d360d48c688198379ae3f319edbd3 Mon Sep 17 00:00:00 2001 From: Corby Krick Date: Thu, 14 Feb 2013 20:07:24 -0600 Subject: [PATCH] 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. --- application/views/view_log/qso.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index 4602aa14..ce21bc62 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -133,7 +133,7 @@ margin: 10px 0; 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 {