aboutsummaryrefslogtreecommitdiff
path: root/actions/profile/fields/reorder.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/profile/fields/reorder.php')
-rw-r--r--actions/profile/fields/reorder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/profile/fields/reorder.php b/actions/profile/fields/reorder.php
index a30e97bac..dd7a682a6 100644
--- a/actions/profile/fields/reorder.php
+++ b/actions/profile/fields/reorder.php
@@ -6,7 +6,7 @@
*/
$ordering = get_input('fieldorder');
-//if (!empty($ordering))
-$result = set_plugin_setting('user_defined_fields',$ordering,'profile');
+
+$result = elgg_save_config('profile_custom_fields', $ordering);
exit; \ No newline at end of file