notice php bug fixe
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
4b1685af04
commit
1cd7c773a5
@ -677,6 +677,7 @@ function _term_reference_tree_widget_validate(&$element, &$form_state) {
|
||||
return $element;
|
||||
}else{
|
||||
# if the field was not in the form
|
||||
$values = array();
|
||||
foreach ($element['#default_value'] as $tid) {
|
||||
$values[] = (array) taxonomy_term_load($tid);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user