From 7e434bda73195ad81d728c97823c14c09383438d Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 20:17:54 +0000 Subject: Fixes #2751 profile custom fields uses the config table now git-svn-id: http://code.elgg.org/elgg/trunk@7754 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/profile/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/profile/edit.php') 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); -- cgit v1.2.3