diff options
Diffstat (limited to 'mod/notifications/start.php')
-rw-r--r-- | mod/notifications/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications/start.php b/mod/notifications/start.php index 00e981f7b..a200a6513 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -64,8 +64,8 @@ function notifications_page_handler($page) { * */ function notifications_plugin_pagesetup() { - if (elgg_get_context() == "settings" && get_loggedin_userid()) { - $user = get_loggedin_user(); + if (elgg_get_context() == "settings" && elgg_get_logged_in_user_guid()) { + $user = elgg_get_logged_in_user_entity(); $params = array( 'name' => '2_a_user_notify', |