forked from GNUsocial/gnu-social
slight improvement in location output
This commit is contained in:
parent
8c9d967814
commit
71fa1d2462
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user