From a0c3d3e4746710b87c7b1526cdc4579b7f95411a Sat, 29 Jun 2013 20:07:55 +0200
From: hass <hass@85918.no-reply.drupal.org>
Date: Sat, 29 Jun 2013 20:07:36 +0200
Subject: [PATCH] Issue #2031055 by hass: Theme cannot add classes via preprocess to webform_advanced_total_submit_limit_form

diff --git a/includes/webform.pages.inc b/includes/webform.pages.inc
index 97c9395..e55d723 100644
--- a/includes/webform.pages.inc
+++ b/includes/webform.pages.inc
@@ -398,8 +398,8 @@
  */
 function theme_webform_advanced_total_submit_limit_form($variables) {
   $form = $variables['form'];
-  $form['total_submit_limit']['#attributes']['class'] = array('webform-set-active');
-  $form['total_submit_interval']['#attributes']['class'] = array('webform-set-active');
+  $form['total_submit_limit']['#attributes']['class'][] = 'webform-set-active';
+  $form['total_submit_interval']['#attributes']['class'][] = 'webform-set-active';
   // Remove div wrappers around limit options.
   $form['total_submit_limit']['#theme_wrappers'] = array();
   $form['total_submit_interval']['#theme_wrappers'] = array();
