diff options
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r-- | modules/taxonomy.module | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 693bd36f8..889e24b5d 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -772,16 +772,20 @@ function taxonomy_admin() { switch ($op) { case "add": - if (arg(3) == "vocabulary") + if (arg(3) == "vocabulary") { $output .= taxonomy_form_vocabulary(); - else if (arg(3) == "term") + } + else if (arg(3) == "term") { $output .= taxonomy_form_term(); + } break; case "edit": - if (arg(3) == "vocabulary") + if (arg(3) == "vocabulary") { $output .= taxonomy_form_vocabulary(object2array(taxonomy_get_vocabulary(arg(4)))); - else if (arg(3) == "term") + } + else if (arg(3) == "term") { $output .= taxonomy_form_term(object2array(taxonomy_get_term(arg(4)))); + } break; case "preview": $output .= taxonomy_form(arg(4)); |