aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
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 /mod/profile/views/default
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 'mod/profile/views/default')
-rw-r--r--mod/profile/views/default/profile/details.php4
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');