aboutsummaryrefslogtreecommitdiff
path: root/views/foaf/user/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/foaf/user/default.php')
-rw-r--r--views/foaf/user/default.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php
index 3be763a73..8d059bc6b 100644
--- a/views/foaf/user/default.php
+++ b/views/foaf/user/default.php
@@ -15,7 +15,7 @@ foreach ($friends as $friend) {
<foaf:Person>
<foaf:nick><?php echo $friend->username; ?></foaf:nick>
<foaf:name><?php echo $friend->name; ?></foaf:name>
- <rdfs:seeAlso rdf:resource="<?php echo elgg_get_site_url() . "pg/profile/" . $friend->username . "?view=foaf" ?>" />
+ <rdfs:seeAlso rdf:resource="<?php echo $friend->getURL() . "?view=foaf" ?>" />
</foaf:Person>
</foaf:knows>