=== modified file 'includes/form.inc' --- includes/form.inc 2006-10-12 20:36:51 +0000 +++ includes/form.inc 2006-10-17 11:32:03 +0000 @@ -890,6 +890,9 @@ function form_select_options($element, $ $options .= form_select_options($element, $choice); $options .= ''; } + elseif (is_object($choice)) { + $options .= form_select_options($element, $choice->option); + } else { $key = (string)$key; if ($value_valid && ($element['#value'] == $key || ($value_is_array && in_array($key, $element['#value'])))) { === modified file 'modules/taxonomy/taxonomy.module' --- modules/taxonomy/taxonomy.module 2006-10-13 14:59:03 +0000 +++ modules/taxonomy/taxonomy.module 2006-10-17 11:32:03 +0000 @@ -1062,7 +1062,9 @@ function _taxonomy_term_select($title, $ if ($tree) { foreach ($tree as $term) { if (!in_array($term->tid, $exclude)) { - $options[$term->tid] = str_repeat('-', $term->depth) . $term->name; + $choice = new stdClass(); + $choice->option = array($term->tid => str_repeat('-', $term->depth) . $term->name); + $options[microtime()] = $choice; } } if (!$blank && !$value) {