aboutsummaryrefslogtreecommitdiff
path: root/actions/profile/edit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 20:17:54 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 20:17:54 +0000
commit7e434bda73195ad81d728c97823c14c09383438d (patch)
treec9af7225b4f82b0abfd9403fee4b3f0e439caa6e /actions/profile/edit.php
parentce7eb8ee45b4222e9ea5e63ed6941f19239b969d (diff)
downloadelgg-7e434bda73195ad81d728c97823c14c09383438d.tar.gz
elgg-7e434bda73195ad81d728c97823c14c09383438d.tar.bz2
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
Diffstat (limited to 'actions/profile/edit.php')
-rw-r--r--actions/profile/edit.php4
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 &amp;&amp; showing up in profile fields
+ // the decoding is a stop gap to prevent &amp;&amp; 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);