update member profile pages
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 8 Jul 2013 15:53:45 +0000 (15:53 +0000)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 8 Jul 2013 15:53:45 +0000 (15:53 +0000)
Need to correct Lon for method call

Toolkit/Members/ProfilePage.php
Toolkit/Members/SearchList.php

index 18b4d66..56ad49a 100644 (file)
@@ -502,7 +502,7 @@ class Toolkit_Members_ProfilePage
                 $page->lat = $latitude['text'];
             }
             if ($row['lon']) {
-                $longitude = Toolkit_Common::f2LatLon($row['lon'], 'Lat', 'DMS', 2);
+                $longitude = Toolkit_Common::f2LatLon($row['lon'], 'Lon', 'DMS', 2);
                 $page->lon = $longitude['text'];
             }
             $page->county_name = $row['county_name'];
index 4d4c2a8..70e6d3d 100644 (file)
@@ -570,7 +570,7 @@ class Toolkit_Members_SearchList extends Toolkit_FlexyDataGridBuilder
     {
         extract($data['record']);
         if ($lon) {
-            $longitude = Toolkit_Common::f2LatLon($lon, 'Lat', 'DMS', 2);
+            $longitude = Toolkit_Common::f2LatLon($lon, 'Lon', 'DMS', 2);
             return $longitude['text'];
         } else {
             return '';