From baaa21e1316354ada6d985a5b799ce17d6255590 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 28 Dec 2003 10:47:33 +0000 Subject: - Tidied up some inconsistencies in the code: scripts/code-style.sh is your friend. --- modules/taxonomy.module | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'modules/taxonomy.module') 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)); -- cgit v1.2.3