@@ -677,6 +677,7 @@ function _term_reference_tree_widget_validate(&$element, &$form_state) {
|
|||||||
return $element;
|
return $element;
|
||||||
}else{
|
}else{
|
||||||
# if the field was not in the form
|
# if the field was not in the form
|
||||||
|
$values = array();
|
||||||
foreach ($element['#default_value'] as $tid) {
|
foreach ($element['#default_value'] as $tid) {
|
||||||
$values[] = (array) taxonomy_term_load($tid);
|
$values[] = (array) taxonomy_term_load($tid);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user