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 2747c149f..276dcb55e 100644
--- a/actions/widgets/move.php
+++ b/actions/widgets/move.php
@@ -14,7 +14,7 @@ $user = get_loggedin_user();
$widget = get_entity($guid);
if ($widget && $user->canEdit()) {
- elgg_move_widget($widget, $widget->context, $column, $position);
+ $widget->move($column, $position);
forward(REFERER);
}