forked from GNUsocial/gnu-social
syntax error in position in activity streams json
This commit is contained in:
parent
3d87176ece
commit
8c9d967814
@ -395,7 +395,7 @@ class Activity
|
|||||||
|
|
||||||
$activity['location'] = array(
|
$activity['location'] = array(
|
||||||
'objectType' => 'place',
|
'objectType' => 'place',
|
||||||
'position' => sprintf("%+02.5F.%+03.5F/", $loc->lat, $loc->lon);
|
'position' => sprintf("%+02.5F.%+03.5F/", $loc->lat, $loc->lon),
|
||||||
);
|
);
|
||||||
|
|
||||||
$name = $loc->getName();
|
$name = $loc->getName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user