From: Evan Prodromou Date: Tue, 3 Jan 2012 19:03:18 +0000 (-0800) Subject: slight improvement in location output X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71fa1d246266be6cae29b1849343286baa69c4de;p=quix0rs-gnu-social.git slight improvement in location output --- 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();