From 838b4331106b082bee0c375d440960c34148357d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 29 Oct 2008 10:08:52 +0000 Subject: - Patch #319666 by Dave Reid: remove unnecessary boolean ternary conditaionals. --- modules/taxonomy/taxonomy.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index 00a13985a..960558920 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -659,7 +659,7 @@ function taxonomy_form_term(&$form_state, $vocabulary, $edit = array()) { '#type' => 'fieldset', '#title' => t('Advanced options'), '#collapsible' => TRUE, - '#collapsed' => $vocabulary->hierarchy > 1 ? FALSE : TRUE, + '#collapsed' => $vocabulary->hierarchy < 2, ); // taxonomy_get_tree and taxonomy_get_parents may contain large numbers of -- cgit v1.2.3