]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
syntax error in position in activity streams json
authorEvan Prodromou <evan@status.net>
Sun, 1 Jan 2012 03:05:41 +0000 (19:05 -0800)
committerEvan Prodromou <evan@status.net>
Sun, 1 Jan 2012 03:05:41 +0000 (19:05 -0800)
lib/activity.php

index 9f0186c6507f2f4debed11860f69e043bce444e9..d94b168004a3c0d17b27fe78e2cc092389f7463c 100644 (file)
@@ -395,7 +395,7 @@ 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),
                     );
 
                     $name = $loc->getName();