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 990bbea07e
commit 17f1ea703d
1 changed files with 1 additions and 1 deletions

View File

@ -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()));