From 17f1ea703dc86ea0791cc9399cdce8d2dc88bfb0 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 29 Mar 2010 17:53:31 -0700 Subject: [PATCH] Fix to profile location in FOAF output: longitude was repeating the latitude by mistake --- actions/foaf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()));