diff options
Diffstat (limited to 'modules/profile/profile.module')
-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 0a0bf3436..c7d43b74a 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -288,7 +288,7 @@ Unless you know what you are doing, it is highly recommended that you prefix the if ($type == 'selection') { $form['fields']['options'] = array('#type' => 'textarea', '#title' => t('Selection options'), - '#default_value' => $edit['options'], + '#default_value' => isset($edit['options']) ? $edit['options'] : '', '#description' => t('A list of all options. Put each option on a separate line. Example options are "red", "blue", "green", etc.'), ); } |