Commit ee1795e4 authored by Dries's avatar Dries

- Patch #319723 by aditya_kristanto, cha0s: confirm_form() needs to be polite with ['#attributes'].

parent d5a525c5
......@@ -2688,7 +2688,7 @@ function confirm_form($form, $question, $path, $description = NULL, $yes = NULL,
drupal_set_title($question, PASS_THROUGH);
$form['#attributes'] = array('class' => array('confirmation'));
$form['#attributes']['class'][] = 'confirmation';
$form['description'] = array('#markup' => $description);
$form[$name] = array('#type' => 'hidden', '#value' => 1);
......
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