aboutsummaryrefslogtreecommitdiff
path: root/actions/user/spotlight.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/user/spotlight.php')
-rw-r--r--actions/user/spotlight.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/user/spotlight.php b/actions/user/spotlight.php
index 390197e78..202dde387 100644
--- a/actions/user/spotlight.php
+++ b/actions/user/spotlight.php
@@ -14,6 +14,6 @@ if ($closed != 'true') {
$closed = true;
}
-get_loggedin_user()->spotlightclosed = $closed;
+elgg_get_logged_in_user_entity()->spotlightclosed = $closed;
// exit as this action is called through Ajax
exit; \ No newline at end of file