Mercurial > defr > drupal > core
diff modules/profile/profile.module @ 7:fff6d4c8c043 6.3
Drupal 6.3
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:28 +0100 |
parents | 2427550111ae |
children | 3edae6ecd6c6 |
line wrap: on
line diff
--- a/modules/profile/profile.module Tue Dec 23 14:30:08 2008 +0100 +++ b/modules/profile/profile.module Tue Dec 23 14:30:28 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: profile.module,v 1.236.2.1 2008/04/09 21:11:49 goba Exp $ +// $Id: profile.module,v 1.236.2.2 2008/04/28 09:13:46 dries Exp $ /** * @file @@ -152,7 +152,7 @@ $fields['user_profile'] = t('Link to full user profile'); $form['profile_block_author_fields'] = array('#type' => 'checkboxes', '#title' => t('Profile fields to display'), - '#default_value' => variable_get('profile_block_author_fields', NULL), + '#default_value' => variable_get('profile_block_author_fields', array()), '#options' => $fields, '#description' => t('Select which profile fields you wish to display in the block. Only fields designated as public in the <a href="@profile-admin">profile field configuration</a> are available.', array('@profile-admin' => url('admin/user/profile'))), );