Commit ba32a804 authored by Dries's avatar Dries

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

parent 86a6c03b
......@@ -640,7 +640,7 @@ function taxonomy_term_confirm_delete_submit($form, &$form_state) {
/**
* 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);
$help = ($help) ? $help : $vocabulary->help;
if ($vocabulary->required) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment