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
2748d654
Commit
2748d654
authored
Jan 28, 2011
by
webchick
Browse files
#932584
by duellj: Fixed Forum has two 'select' options
parent
20b62b29
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/forum/forum.module
View file @
2748d654
...
...
@@ -611,7 +611,7 @@ function forum_form_alter(&$form, $form_state, $form_id) {
// ID from the URL (e.g., if we are on a page like node/add/forum/2, we
// expect "2" to be the ID of the forum that was requested).
$requested_forum_id
=
arg
(
3
);
$form
[
'taxonomy_forums'
][
$langcode
][
'#default_value'
]
=
is_numeric
(
$requested_forum_id
)
?
$requested_forum_id
:
NULL
;
$form
[
'taxonomy_forums'
][
$langcode
][
'#default_value'
]
=
is_numeric
(
$requested_forum_id
)
?
$requested_forum_id
:
''
;
}
}
}
...
...
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