diff --git modules/taxonomy/taxonomy.admin.inc modules/taxonomy/taxonomy.admin.inc index 2fa542b..cef4122 100644 --- modules/taxonomy/taxonomy.admin.inc +++ modules/taxonomy/taxonomy.admin.inc @@ -175,11 +175,12 @@ function taxonomy_form_vocabulary(&$form_state, $edit = array()) { // Set the hierarchy to "multiple parents" by default. This simplifies the // vocabulary form and standardizes the term form. $form['hierarchy'] = array('#type' => 'value', - '#value' => '0', - ); + '#value' => isset($edit['hierarchy']) ? $edit['hierarchy'] : 0, + ); + // Enable "related terms" by default. $form['relations'] = array('#type' => 'value', - '#value' => '1', + '#value' => isset($edit['relations']) ? $edit['relations'] : 1, ); $form['submit'] = array('#type' => 'submit', '#value' => t('Save')); -- 1.7.3.2