diff options
Diffstat (limited to 'mod/sitepages/views')
-rw-r--r-- | mod/sitepages/views/default/sitepages/custom_frontpage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/views/default/sitepages/custom_frontpage.php b/mod/sitepages/views/default/sitepages/custom_frontpage.php index 10ef62641..95310e1e5 100644 --- a/mod/sitepages/views/default/sitepages/custom_frontpage.php +++ b/mod/sitepages/views/default/sitepages/custom_frontpage.php @@ -9,7 +9,7 @@ $sitepage = sitepages_get_sitepage_object('front'); if ($sitepage) { - if (get_loggedin_userid()) { + if (elgg_get_logged_in_user_guid()) { echo $sitepage->logged_in_content; } else { echo $sitepage->logged_out_content; |