Commit 1c4b5b9f authored by Dries's avatar Dries

- Patch #850690 by salvis: set the tid of the newly created forum or container.

parent 8e1432cf
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment