diff options
author | Dries <dries@buytaert.net> | 2011-12-10 08:54:05 -0600 |
---|---|---|
committer | Dries <dries@buytaert.net> | 2011-12-10 08:54:05 -0600 |
commit | 04ad7fcc4008e681a5dad6ec389c86442273ee24 (patch) | |
tree | 8a14b2675d987a22123feac9921754ed537eeeae /modules | |
parent | fcc870726ceebc1fb382f5d83d321cdb9e8cf9bc (diff) | |
download | brdo-04ad7fcc4008e681a5dad6ec389c86442273ee24.tar.gz brdo-04ad7fcc4008e681a5dad6ec389c86442273ee24.tar.bz2 |
- Patch #1366518 by chris.leversuch: 'Columns' is misspelled (()) in theme_field_ui_table().
Diffstat (limited to 'modules')
-rw-r--r-- | modules/field_ui/field_ui.admin.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/field_ui/field_ui.admin.inc b/modules/field_ui/field_ui.admin.inc index fa19afc0a..7aff69b7e 100644 --- a/modules/field_ui/field_ui.admin.inc +++ b/modules/field_ui/field_ui.admin.inc @@ -215,9 +215,9 @@ function theme_field_ui_table($variables) { // Determine the colspan to use for region rows, by checking the number of // columns in the headers. - $colums_count = 0; + $columns_count = 0; foreach ($table['header'] as $header) { - $colums_count += (is_array($header) && isset($header['colspan']) ? $header['colspan'] : 1); + $columns_count += (is_array($header) && isset($header['colspan']) ? $header['colspan'] : 1); } // Render rows, region by region. @@ -230,7 +230,7 @@ function theme_field_ui_table($variables) { 'class' => array('region-title', 'region-' . $region_name_class . '-title'), 'no_striping' => TRUE, 'data' => array( - array('data' => $region['title'], 'colspan' => $colums_count), + array('data' => $region['title'], 'colspan' => $columns_count), ), ); } @@ -240,7 +240,7 @@ function theme_field_ui_table($variables) { 'class' => array('region-message', 'region-' . $region_name_class . '-message', $class), 'no_striping' => TRUE, 'data' => array( - array('data' => $region['message'], 'colspan' => $colums_count), + array('data' => $region['message'], 'colspan' => $columns_count), ), ); } |