From 71fa1d246266be6cae29b1849343286baa69c4de Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 3 Jan 2012 11:03:18 -0800 Subject: [PATCH] slight improvement in location output --- lib/activity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/activity.php b/lib/activity.php index d94b168004..e352baf639 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -395,7 +395,9 @@ class Activity $activity['location'] = array( 'objectType' => 'place', - 'position' => sprintf("%+02.5F.%+03.5F/", $loc->lat, $loc->lon), + 'position' => sprintf("%+02.5F%+03.5F/", $loc->lat, $loc->lon), + 'lat' => $loc->lat, + 'lon' => $loc->lon ); $name = $loc->getName(); -- 2.39.5