diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-28 09:11:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-28 09:11:58 +0000 |
commit | c14ac959c422e0cda9e1231707dc78853e276894 (patch) | |
tree | a367519c3100ac681fbd9a4874fb8d0c6485ee58 | |
parent | 2813062be7ede9fdd7150aec82f34ef61173e676 (diff) | |
download | brdo-c14ac959c422e0cda9e1231707dc78853e276894.tar.gz brdo-c14ac959c422e0cda9e1231707dc78853e276894.tar.bz2 |
- Patch #225859 by webchick: fixed warning in author information block.
-rw-r--r-- | modules/profile/profile.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 6143c61cb..e467791d1 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -153,7 +153,7 @@ function profile_block($op = 'list', $delta = '', $edit = array()) { $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'))), ); |