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

This commit is contained in:
Brion Vibber 2010-03-29 17:53:31 -07:00
parent 6046a6cc6a
commit d38ce90fa1

View File

@ -126,7 +126,7 @@ class FoafAction extends Action
$this->element('geo:lat', null, $location->lat); $this->element('geo:lat', null, $location->lat);
} }
if ($location->lon) { if ($location->lon) {
$this->element('geo:long', null, $location->lat); $this->element('geo:long', null, $location->lon);
} }
if ($location->getURL()) { if ($location->getURL()) {
$this->element('page', array('rdf:resource'=>$location->getURL())); $this->element('page', array('rdf:resource'=>$location->getURL()));