Commit 70d49462 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#192242 follow up by catch: unset multiple parent form item on forum term pages

parent 8a364836
......@@ -361,6 +361,10 @@ function forum_form_alter(&$form, $form_state, $form_id) {
$form['settings']['required'] = array('#type' => 'value', '#value' => 1);
}
}
// Hide multiple parents select from forum terms.
if ($form_id == 'taxonomy_form_term') {
unset($form['advanced']['parent']);
}
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment