diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 14:34:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 14:34:23 +0000 |
commit | 36ec18969549ff173b45ae35577e035c2c19f641 (patch) | |
tree | 8a73f48534a188f946e6edf5ecad90f837ce3d84 /themes/seven/template.php | |
parent | 73a72337bb4c296211c5cb728b027ad0fefa85ed (diff) | |
download | brdo-36ec18969549ff173b45ae35577e035c2c19f641.tar.gz brdo-36ec18969549ff173b45ae35577e035c2c19f641.tar.bz2 |
#326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string.
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r-- | themes/seven/template.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php index 60a7e8202..416de552a 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -75,12 +75,12 @@ function seven_fieldset($element) { drupal_add_js('misc/collapse.js'); if (!isset($element['#attributes']['class'])) { - $element['#attributes']['class'] = ''; + $element['#attributes']['class'] = array(); } - $element['#attributes']['class'] .= ' collapsible'; + $element['#attributes']['class'][] = 'collapsible'; if (!empty($element['#collapsed'])) { - $element['#attributes']['class'] .= ' collapsed'; + $element['#attributes']['class'][] = 'collapsed'; } } $element['#attributes']['id'] = $element['#id']; |