summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-11 09:51:29 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-11 09:51:29 +0000
commited1a53698a1d9f020c35d0cada0b9f4e990509a7 (patch)
treea8d5361e47e149af510d6b0a9f248e136628c606 /modules/profile
parentba3c558f0de6a04810f55edd1c0b753223551ab5 (diff)
downloadbrdo-ed1a53698a1d9f020c35d0cada0b9f4e990509a7.tar.gz
brdo-ed1a53698a1d9f020c35d0cada0b9f4e990509a7.tar.bz2
#180897 by sun and dvessel: fix various XHTML validity issues in Drupal by closing unclosed tags, avoiding empty table containers, and so on
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile.module2
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.'),
);
}