summaryrefslogtreecommitdiff
path: root/actions/foaf.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-29 17:53:31 -0700
committerBrion Vibber <brion@pobox.com>2010-03-29 17:54:22 -0700
commitd38ce90fa12fcda80fb24d6366406d7b03f6a71b (patch)
tree1d45385004d90e9fc70754114ca32876968e7913 /actions/foaf.php
parent6046a6cc6ae72edfde90719d6e1f9dc39e0fa7ab (diff)
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
Diffstat (limited to 'actions/foaf.php')
-rw-r--r--actions/foaf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/foaf.php b/actions/foaf.php
index fc56e19b4..9cb65a885 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()));