by Zacker, fix the node type checkboxes on vocabulary editing.

5.x
Neil Drumm 2006-08-15 05:50:48 +00:00
parent 0aee20e61b
commit d58a0aa533
1 changed files with 1 additions and 1 deletions
modules/taxonomy

View File

@ -218,7 +218,7 @@ function taxonomy_form_vocabulary($edit = array()) {
$form['nodes'] = array('#type' => 'checkboxes', $form['nodes'] = array('#type' => 'checkboxes',
'#title' => t('Types'), '#title' => t('Types'),
'#default_value' => $edit['nodes'], '#default_value' => $edit['nodes'],
'#options' => node_get_types(), '#options' => node_get_types('names'),
'#description' => t('A list of node types you want to associate with this vocabulary.'), '#description' => t('A list of node types you want to associate with this vocabulary.'),
'#required' => TRUE, '#required' => TRUE,
); );