summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries2011-12-10 14:54:05 (GMT)
committer Dries2011-12-10 14:54:05 (GMT)
commit04ad7fcc4008e681a5dad6ec389c86442273ee24 (patch)
tree8a14b2675d987a22123feac9921754ed537eeeae
parentfcc870726ceebc1fb382f5d83d321cdb9e8cf9bc (diff)
- Patch #1366518 by chris.leversuch: 'Columns' is misspelled (()) in theme_field_ui_table().
-rw-r--r--modules/field_ui/field_ui.admin.inc8
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 fa19afc..7aff69b 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),
),
);
}