- Patch #319723 by aditya_kristanto, cha0s: confirm_form() needs to be polite with ['#attributes'].
parent
d5a525c591
commit
ee1795e42d
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue