Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
70d49462
Commit
70d49462
authored
Nov 21, 2007
by
Gábor Hojtsy
Browse files
#192242
follow up by catch: unset multiple parent form item on forum term pages
parent
8a364836
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/forum/forum.module
View file @
70d49462
...
...
@@ -361,6 +361,10 @@ function forum_form_alter(&$form, $form_state, $form_id) {
$form
[
'settings'
][
'required'
]
=
array
(
'#type'
=>
'value'
,
'#value'
=>
1
);
}
}
// Hide multiple parents select from forum terms.
if
(
$form_id
==
'taxonomy_form_term'
)
{
unset
(
$form
[
'advanced'
][
'parent'
]);
}
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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