aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/editfield.php
blob: b3bd887ef42c1601ea8e11b2990d08782c3d7258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Elgg profile plugin edit default profile action
 *
 * @package ElggProfile
 */

$field = get_input('field');
$text = get_input('value');

set_plugin_setting("admin_defined_profile_{$field}",$text,'profile');

echo $text;

exit;