]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
authorBrion Vibber <brion@pobox.com>
Tue, 30 Mar 2010 00:53:31 +0000 (17:53 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 30 Mar 2010 00:53:31 +0000 (17:53 -0700)
actions/foaf.php

index fc56e19b4f5c4dbb37a37e4e7a9e1262fefcdbe9..9cb65a885624a56e6b304e5e852ad8b7ef88f242 100644 (file)
@@ -126,7 +126,7 @@ class FoafAction extends Action
                 $this->element('geo:lat', null, $location->lat);
             }
             if ($location->lon) {
-                $this->element('geo:long', null, $location->lat);
+                $this->element('geo:long', null, $location->lon);
             }
             if ($location->getURL()) {
                 $this->element('page', array('rdf:resource'=>$location->getURL()));