]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
slight improvement in location output
authorEvan Prodromou <evan@status.net>
Tue, 3 Jan 2012 19:03:18 +0000 (11:03 -0800)
committerEvan Prodromou <evan@status.net>
Tue, 3 Jan 2012 19:03:18 +0000 (11:03 -0800)
lib/activity.php

index d94b168004a3c0d17b27fe78e2cc092389f7463c..e352baf63956880d7e8fc21c1b58736ffaaec42b 100644 (file)
@@ -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();