summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/taxonomy.module3
-rw-r--r--modules/taxonomy/taxonomy.module3
2 files changed, 0 insertions, 6 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 457875fa8..647ef3f56 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -1020,9 +1020,6 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
if ($blank) {
$options[0] = $blank;
- if (count($value) == 0) {
- $value[] = 0;
- }
}
if ($tree) {
foreach ($tree as $term) {
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 457875fa8..647ef3f56 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1020,9 +1020,6 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
if ($blank) {
$options[0] = $blank;
- if (count($value) == 0) {
- $value[] = 0;
- }
}
if ($tree) {
foreach ($tree as $term) {