summaryrefslogtreecommitdiff
path: root/actions
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:53:31 -0700
commit17f1ea703dc86ea0791cc9399cdce8d2dc88bfb0 (patch)
treecc22405f56d2e6c54cee3479e4f36fc67dcb9cca /actions
parent990bbea07e28abb5074f99217b2ddde6b8e5aa22 (diff)
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
Diffstat (limited to 'actions')
-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()));