- Patch #654560 by yched: fixed taxonomy upgrade path.
parent
65e5296401
commit
620a306ea4
|
@ -335,6 +335,7 @@ function taxonomy_update_7004() {
|
||||||
'label' => $vocabulary->name,
|
'label' => $vocabulary->name,
|
||||||
'field_name' => $field_name,
|
'field_name' => $field_name,
|
||||||
'bundle' => $bundle,
|
'bundle' => $bundle,
|
||||||
|
'object_type' => 'node',
|
||||||
'description' => $vocabulary->help,
|
'description' => $vocabulary->help,
|
||||||
'widget' => array(
|
'widget' => array(
|
||||||
'type' => $vocabulary->tags ? 'taxonomy_autocomplete' : 'select',
|
'type' => $vocabulary->tags ? 'taxonomy_autocomplete' : 'select',
|
||||||
|
|
Loading…
Reference in New Issue