aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/profile
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/profile')
-rw-r--r--views/default/forms/profile/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/forms/profile/edit.php b/views/default/forms/profile/edit.php
index c9117c8e7..108e7f9f2 100644
--- a/views/default/forms/profile/edit.php
+++ b/views/default/forms/profile/edit.php
@@ -13,7 +13,7 @@
</p>
<?php
-$profile_fields = elgg_get_config('profile');
+$profile_fields = elgg_get_config('profile_fields');
if (is_array($profile_fields) && count($profile_fields) > 0) {
foreach ($profile_fields as $shortname => $valtype) {
$metadata = get_metadata_byname($vars['entity']->guid, $shortname);