diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-10-13 10:02:31 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-10-13 10:02:31 +0000 |
commit | 5f0e0f364964b46bbaea3390acfe3628d32b0c07 (patch) | |
tree | 39855c482ea397e0100eae517242e45a9074ef53 /modules/profile.module | |
parent | 0953282878086c8c513344baa8f4daea66f19fd4 (diff) | |
download | brdo-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.module | 2 |
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'); } } |