aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/profile_contents/details.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default/profile/profile_contents/details.php')
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/details.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/details.php b/mod/profile/views/default/profile/profile_contents/details.php
index 6a214557d..360ea0f9e 100755
--- a/mod/profile/views/default/profile/profile_contents/details.php
+++ b/mod/profile/views/default/profile/profile_contents/details.php
@@ -6,9 +6,9 @@
// Simple XFN
$rel = "";
-if (page_owner() == $vars['entity']->guid) {
+if (elgg_get_page_owner_guid() == $vars['entity']->guid) {
$rel = 'me';
-} else if (check_entity_relationship(page_owner(), 'friend', $vars['entity']->guid)) {
+} else if (check_entity_relationship(elgg_get_page_owner_guid(), 'friend', $vars['entity']->guid)) {
$rel = 'friend';
}