diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-05 18:02:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-05 18:02:08 +0000 |
commit | 19dd7c96a34cce208418a0f3890fd25eb0edc188 (patch) | |
tree | 465c36b3da7a34289f9f98c63f649132884f2db3 | |
parent | e4a4b7cc7ea4a4f719ef5af394350896c90763b1 (diff) | |
download | brdo-19dd7c96a34cce208418a0f3890fd25eb0edc188.tar.gz brdo-19dd7c96a34cce208418a0f3890fd25eb0edc188.tar.bz2 |
- Patch #510398 by asimmonds: incorrect CSS class for form element wrappers.
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index 18837c6cc..bcbe4573a 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -2607,7 +2607,7 @@ function theme_form_element($element) { $class[] = 'form-item-' . strtr($element['#type'], array('_' => '-')); } if (!empty($element['#name'])) { - $class[] = strtr($element['#name'], array('_' => '-', '[' => '-', ']' => '')) . '-wrapper'; + $class[] = strtr($element['#name'], array(' ' => '-', '_' => '-', '[' => '-', ']' => '')) . '-wrapper'; } $output = '<div class="' . implode(' ', $class) . '">' . "\n"; |