diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-08 15:40:25 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-08 15:40:25 +0000 |
commit | af8e8c6e872658e7c7269e97a50b03c88d8bcc5b (patch) | |
tree | dc57e1aa15371d2b1b1c7d1323d4edcc3849a2a6 /modules/forum | |
parent | 7e26556a92a2b463157578fd053821a7c861b2bc (diff) | |
download | brdo-af8e8c6e872658e7c7269e97a50b03c88d8bcc5b.tar.gz brdo-af8e8c6e872658e7c7269e97a50b03c88d8bcc5b.tar.bz2 |
#652176 follow-up by David_Rothstein: Clarify confusing comment.
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 512919a50..40e95eb86 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -570,8 +570,8 @@ function forum_form_alter(&$form, $form_state, $form_id) { $form['taxonomy_forums'][$langcode]['#multiple'] = FALSE; if (empty($form['taxonomy_forums'][$langcode]['#default_value'])) { // If there is no default forum already selected, try to get the forum - // ID from the URL (e.g., if we are on a page like node/add/forum/3, we - // expect "3" to be the ID of the forum that was requested). + // 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; } |