Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ba32a804
Commit
ba32a804
authored
Jun 17, 2007
by
Dries Buytaert
Browse files
- Patch
#150299
by asimmonds: form API fixes in taxonomy.module.
parent
86a6c03b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/taxonomy/taxonomy.module
View file @
ba32a804
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment