diff options
Diffstat (limited to 'actions/profile/edit.php')
-rw-r--r-- | actions/profile/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/profile/edit.php b/actions/profile/edit.php index 219474f2c..2d7c25d37 100644 --- a/actions/profile/edit.php +++ b/actions/profile/edit.php @@ -28,9 +28,9 @@ function profile_array_decoder(&$v) { $v = html_entity_decode($v, ENT_COMPAT, 'UTF-8'); } -$profile_fields = elgg_get_config('profile'); +$profile_fields = elgg_get_config('profile_fields'); foreach ($profile_fields as $shortname => $valuetype) { - // the decoding is a stop gag to prevent && showing up in profile fields + // the decoding is a stop gap to prevent && showing up in profile fields // because it is escaped on both input (get_input()) and output (view:output/text). see #561 and #1405. // must decode in utf8 or string corruption occurs. see #1567. $value = get_input($shortname); |