Commit e7b3c5e3 authored by Dries's avatar Dries

- Patch #641314 by naxoc, bleen18: taxonomy term form being rebuilt even after final submit.

parent 80c8601d
......@@ -821,7 +821,8 @@ function taxonomy_form_term_submit($form, &$form_state) {
$form_state['values']['tid'] = $term->tid;
$form_state['tid'] = $term->tid;
$form_state['redirect'] = 'admin/structure/taxonomy';
// Do not rebuild here. The term is saved by now and the form should clear.
$form_state['rebuild'] = FALSE;
}
/**
......
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