- Patch #150299 by asimmonds: form API fixes in taxonomy.module.

6.x
Dries Buytaert 2007-06-17 10:47:12 +00:00
parent 86a6c03b35
commit ba32a804a9
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ function taxonomy_term_confirm_delete_submit($form, &$form_state) {
/** /**
* Generate a form element for selecting terms from a vocabulary. * Generate a form element for selecting terms from a vocabulary.
*/ */
function taxonomy_form(&$form_state, $vid, $value = 0, $help = NULL, $name = 'taxonomy') { function taxonomy_form($vid, $value = 0, $help = NULL, $name = 'taxonomy') {
$vocabulary = taxonomy_vocabulary_load($vid); $vocabulary = taxonomy_vocabulary_load($vid);
$help = ($help) ? $help : $vocabulary->help; $help = ($help) ? $help : $vocabulary->help;
if ($vocabulary->required) { if ($vocabulary->required) {