diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2011-01-28 08:02:37 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2011-01-28 08:02:37 +0000 |
commit | 2748d654c41add71b0505933b113e2082804edc7 (patch) | |
tree | 64228e212cb86bb2e77424add42c1f5bd877d1f4 /modules/forum | |
parent | 20b62b2911eff2c5961819b66e4b6464a68cc52b (diff) | |
download | brdo-2748d654c41add71b0505933b113e2082804edc7.tar.gz brdo-2748d654c41add71b0505933b113e2082804edc7.tar.bz2 |
#932584 by duellj: Fixed Forum has two 'select' options
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index fffd0c76d..8388cda6d 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -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 : ''; } } } |