Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
This commit is contained in:
parent
6046a6cc6a
commit
d38ce90fa1
@ -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()));
|
||||||
|
Loading…
Reference in New Issue
Block a user