diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-28 11:54:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-28 11:54:27 +0000 |
commit | ee1795e42dc308ad58f9ce2fd48cee8d352018c3 (patch) | |
tree | 48e8b5cb576dd75332cf127b56fdc1677d75112f /modules/system/system.module | |
parent | d5a525c59141ed9b6ba3d5d35f3ee6a4337cd16a (diff) | |
download | brdo-ee1795e42dc308ad58f9ce2fd48cee8d352018c3.tar.gz brdo-ee1795e42dc308ad58f9ce2fd48cee8d352018c3.tar.bz2 |
- Patch #319723 by aditya_kristanto, cha0s: confirm_form() needs to be polite with ['#attributes'].
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 8f5b92e4a..db4b90ef5 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -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); |