aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/index.php')
-rw-r--r--mod/pages/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/index.php b/mod/pages/index.php
index afda594cb..ff5a78311 100644
--- a/mod/pages/index.php
+++ b/mod/pages/index.php
@@ -32,7 +32,7 @@ if (!$content) {
}
$filter_context = '';
-if (elgg_get_page_owner_guid() == get_loggedin_userid()) {
+if (elgg_get_page_owner_guid() == elgg_get_logged_in_user_guid()) {
$filter_context = 'mine';
}