diff --git a/modules/forum/forum.admin.inc b/modules/forum/forum.admin.inc
index 9b696ade96b5e5f4314db4e2874656463e12817d..02f1940b26dcb44900d6717da1bcf4341cad4287 100644
--- a/modules/forum/forum.admin.inc
+++ b/modules/forum/forum.admin.inc
@@ -89,6 +89,7 @@ function forum_form_submit($form, &$form_state) {
         $containers[] = $term->tid;
         variable_set('forum_containers', $containers);
       }
+      $form_state['values']['tid'] = $term->tid;
       drupal_set_message(t('Created new @type %term.', array('%term' => $form_state['values']['name'], '@type' => $type)));
       break;
     case SAVED_UPDATED: