diff options
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r-- | modules/taxonomy.module | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 22b662ba3..64175d393 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -147,6 +147,7 @@ function taxonomy_save_vocabulary($edit) { cache_clear_all(); drupal_set_message($message); + return $edit; } @@ -919,16 +920,10 @@ function taxonomy_admin() { } else { taxonomy_save_term($edit); - if (!$edit['tid']) { - // if INSERT show form again - $output .= taxonomy_form_term(); - break; - } - // else (UPDATE or DELETE) fall through } + drupal_goto('admin/taxonomy'); // fall through: default: - $output .= taxonomy_overview(); } print theme('page', $output); |