From: Brion Vibber <brion@pobox.com>
Date: Tue, 30 Mar 2010 00:53:31 +0000 (-0700)
Subject: Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d38ce90fa12fcda80fb24d6366406d7b03f6a71b;p=quix0rs-gnu-social.git

Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
---

diff --git a/actions/foaf.php b/actions/foaf.php
index fc56e19b4f..9cb65a8856 100644
--- a/actions/foaf.php
+++ b/actions/foaf.php
@@ -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()));