Commit ff0bdd3d authored by Dries's avatar Dries
Browse files

- Patch #641544 by yched:FAPI #type 'container' ids generated twice.

parent b09f5221
......@@ -2252,7 +2252,7 @@ function form_process_container($element, &$form_state) {
function theme_container($variables) {
$element = $variables['element'];
if (!isset($element['#attributes']['id'])) {
$element['#attributes']['id'] = drupal_html_id($element['#id']);
$element['#attributes']['id'] = $element['#id'];
}
// Force the 'form-wrapper' class.
$element['#attributes']['class'][] = 'form-wrapper';
......
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