diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-11-29 17:41:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-11-29 17:41:27 +0000 |
commit | 236da7af059e6cf3aba6e8ec923e082b1f8fe143 (patch) | |
tree | db55fb849b2f8e67c039f27b33f8312714911a6e /modules/taxonomy.module | |
parent | 7a341583be3928a5fb5deac375b0d3d029b2cf6b (diff) | |
download | brdo-236da7af059e6cf3aba6e8ec923e082b1f8fe143.tar.gz brdo-236da7af059e6cf3aba6e8ec923e082b1f8fe143.tar.bz2 |
- Patch #31151: adding taxonomy terms has no feedback
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r-- | modules/taxonomy.module | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 701645957..f58f6db29 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -1148,15 +1148,9 @@ function taxonomy_admin() { // Special block for our "add term" menu localtask. this covers // the use of the "add term" LOCAL_TASK on a "view terms" page. - if (is_numeric(arg(2)) && arg(3) == 'add' && arg(4) == 'term') { - if ($op != t('Submit')) { - $output = taxonomy_form_term(array('vid' => arg(2))); - return $output; - } - else { - taxonomy_save_term($edit); - drupal_goto('admin/taxonomy'); - } + if (is_numeric(arg(2)) && arg(3) == 'add' && arg(4) == 'term' && $op != t('Submit')) { + $output = taxonomy_form_term(array('vid' => arg(2))); + return $output; } switch ($op) { |