Commit 931f43f2 authored by drumm's avatar drumm
Browse files

#41484 by myself. Fix singleton term selection.

parent 30323610
......@@ -679,14 +679,10 @@ function taxonomy_form_alter($form_id, &$form) {
'#title' => t('Categories'),
'#collapsible' => TRUE,
'#collapsed' => FALSE,
'#tree' => TRUE,
'#weight' => -3,
);
}
else {
$form['taxonomy'] = array_shift($form['taxonomy']);
$form['taxonomy']['#weight'] = -3;
}
$form['taxonomy']['#weight'] = -3;
$form['taxonomy']['#tree'] = TRUE;
}
}
}
......
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