aboutsummaryrefslogtreecommitdiff
path: root/actions/widgets/move.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/widgets/move.php')
-rw-r--r--actions/widgets/move.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/widgets/move.php b/actions/widgets/move.php
index 276dcb55e..2edc7912e 100644
--- a/actions/widgets/move.php
+++ b/actions/widgets/move.php
@@ -10,7 +10,7 @@ $guid = get_input('guid');
$column = get_input('column', 1);
$position = get_input('position');
-$user = get_loggedin_user();
+$user = elgg_get_logged_in_user_entity();
$widget = get_entity($guid);
if ($widget && $user->canEdit()) {