summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries2011-12-10 14:52:02 (GMT)
committerDries2011-12-10 14:52:02 (GMT)
commit1873b53650b8ce3420ea5042ebaccec0e7fd34c7 (patch)
tree7aaeba8ca59a4fde9540517fe8200db7ea3fad02
parent9927d5804f131bc65ab4862f4db5d93cb827b77e (diff)
- Patch #1366518 by chris.leversuch: 'Columns' is misspelled (()) in theme_field_ui_table().
-rw-r--r--core/modules/field_ui/field_ui.admin.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/field_ui/field_ui.admin.inc b/core/modules/field_ui/field_ui.admin.inc
index 118ca11..73b1492 100644
--- a/core/modules/field_ui/field_ui.admin.inc
+++ b/core/modules/field_ui/field_ui.admin.inc
@@ -226,9 +226,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.
@@ -241,7 +241,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),
),
);
}
@@ -251,7 +251,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),
),
);
}