summaryrefslogtreecommitdiff
path: root/modules/profile.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-10-13 10:02:31 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-10-13 10:02:31 +0000
commit5f0e0f364964b46bbaea3390acfe3628d32b0c07 (patch)
tree39855c482ea397e0100eae517242e45a9074ef53 /modules/profile.module
parent0953282878086c8c513344baa8f4daea66f19fd4 (diff)
downloadbrdo-5f0e0f364964b46bbaea3390acfe3628d32b0c07.tar.gz
brdo-5f0e0f364964b46bbaea3390acfe3628d32b0c07.tar.bz2
- #33433: More form API fixes, and error handling improvements by Chx.
Diffstat (limited to 'modules/profile.module')
-rw-r--r--modules/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile.module b/modules/profile.module
index c49a414b7..993d70f56 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -298,7 +298,7 @@ function profile_view_profile($user) {
$description = ($field->visibility == PROFILE_PRIVATE) ? t('The content of this field is private and only visible to yourself.') : '';
$title = ($field->type != 'checkbox') ? check_plain($field->title) : '';
$form = array('#type' => 'item', '#title' => $title, '#value' => $value, '#description' => $description);
- $fields[$field->category][$field->name] = form_render(_form_builder($form));
+ $fields[$field->category][$field->name] = drupal_get_form('profile_view_profile_' . $field->category .'_'. $field->name, $form, 'profile_view_profile');
}
}