]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/foaf.php
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
[quix0rs-gnu-social.git] / 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()));