From ee1795e42dc308ad58f9ce2fd48cee8d352018c3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 28 Mar 2010 11:54:27 +0000 Subject: - Patch #319723 by aditya_kristanto, cha0s: confirm_form() needs to be polite with ['#attributes']. --- modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.module') 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); -- cgit v1.2.3