diff options
Diffstat (limited to 'views/foaf/page/shells/default.php')
-rw-r--r-- | views/foaf/page/shells/default.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/foaf/page/shells/default.php b/views/foaf/page/shells/default.php index d360f209b..f955279d0 100644 --- a/views/foaf/page/shells/default.php +++ b/views/foaf/page/shells/default.php @@ -15,10 +15,10 @@ header("Content-Type: text/xml"); echo "<?xml version='1.0'?>\n"; if (!$owner = elgg_get_page_owner_entity()) { - if (!isloggedin()) { + if (!elgg_is_logged_in()) { exit; } else { - $owner = get_loggedin_user(); + $owner = elgg_get_logged_in_user_entity(); } } |