diff options
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/details.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/details.php b/mod/profile/views/default/profile/details.php index 0afceec0b..31630fb69 100644 --- a/mod/profile/views/default/profile/details.php +++ b/mod/profile/views/default/profile/details.php @@ -6,7 +6,7 @@ $user = elgg_get_page_owner(); -$profile_fields = elgg_get_config('profile'); +$profile_fields = elgg_get_config('profile_fields'); echo '<div id="profile-details" class="elgg-body pll">'; echo "<h2>{$user->name}</h2>"; @@ -34,7 +34,7 @@ if (is_array($profile_fields) && sizeof($profile_fields) > 0) { } } -if (!get_plugin_setting('user_defined_fields', 'profile')) { +if (!elgg_get_config('profile_custom_fields')) { if ($user->isBanned()) { echo "<p class='profile-banned-user'>"; echo elgg_echo('banned'); |