summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-24 14:49:45 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-24 14:49:45 +0000
commit02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba (patch)
tree2ba868cca734f33fc2e3c97b4a374d816df03dd2
parentd8ee6e0d4ed19c41d0d059d0579e354859fcf8b4 (diff)
downloadbrdo-02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba.tar.gz
brdo-02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba.tar.bz2
#53351, remove preselection of "none", patch by myself.
-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) {