aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/input.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/input.php')
-rw-r--r--engine/lib/input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/input.php b/engine/lib/input.php
index b5bf4eea5..624c6111e 100644
--- a/engine/lib/input.php
+++ b/engine/lib/input.php
@@ -204,7 +204,7 @@ function elgg_clear_sticky_value($form_name, $variable) {
function input_livesearch_page_handler($page) {
global $CONFIG;
// only return results to logged in users.
- if (!$user = get_loggedin_user()) {
+ if (!$user = elgg_get_logged_in_user_entity()) {
exit;
}