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 --- mod/profile/views/default/profile/details.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/profile/views/default/profile/details.php') 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 '
'; echo "

{$user->name}

"; @@ -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 "

"; echo elgg_echo('banned'); -- cgit v1.2.3