diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-24 14:49:45 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-24 14:49:45 +0000 |
commit | 02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba (patch) | |
tree | 2ba868cca734f33fc2e3c97b4a374d816df03dd2 | |
parent | d8ee6e0d4ed19c41d0d059d0579e354859fcf8b4 (diff) | |
download | brdo-02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba.tar.gz brdo-02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba.tar.bz2 |
#53351, remove preselection of "none", patch by myself.
-rw-r--r-- | modules/taxonomy.module | 3 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 3 |
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) { |