From 02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Fri, 24 Mar 2006 14:49:45 +0000 Subject: [PATCH] #53351, remove preselection of "none", patch by myself. --- modules/taxonomy.module | 3 --- modules/taxonomy/taxonomy.module | 3 --- 2 files changed, 6 deletions(-) diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 457875fa8d2..647ef3f5601 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 457875fa8d2..647ef3f5601 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) {