#53351, remove preselection of "none", patch by myself.
parent
d8ee6e0d4e
commit
02ad2cfea2
|
@ -1020,9 +1020,6 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
|
||||||
|
|
||||||
if ($blank) {
|
if ($blank) {
|
||||||
$options[0] = $blank;
|
$options[0] = $blank;
|
||||||
if (count($value) == 0) {
|
|
||||||
$value[] = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ($tree) {
|
if ($tree) {
|
||||||
foreach ($tree as $term) {
|
foreach ($tree as $term) {
|
||||||
|
|
|
@ -1020,9 +1020,6 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
|
||||||
|
|
||||||
if ($blank) {
|
if ($blank) {
|
||||||
$options[0] = $blank;
|
$options[0] = $blank;
|
||||||
if (count($value) == 0) {
|
|
||||||
$value[] = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ($tree) {
|
if ($tree) {
|
||||||
foreach ($tree as $term) {
|
foreach ($tree as $term) {
|
||||||
|
|
Loading…
Reference in New Issue