diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-25 02:45:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-25 02:45:27 +0000 |
commit | 8a3098d0c14d7347da32aae8bb0175181ee7a383 (patch) | |
tree | 167699e4df3c1912bb9d3a4ded7bc85da4a2731f /includes | |
parent | 13f8a95296f6ae5ab4fd2d30f50611f39cc068b4 (diff) | |
download | brdo-8a3098d0c14d7347da32aae8bb0175181ee7a383.tar.gz brdo-8a3098d0c14d7347da32aae8bb0175181ee7a383.tar.bz2 |
- Patch #675116 by jhodgdon: several problems in field.api.php and field_ui().api.php.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index b512d35e7..93895c8f8 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -2479,9 +2479,8 @@ function template_preprocess_region(&$variables) { $variables['content'] = $variables['elements']['#children']; $variables['region'] = $variables['elements']['#region']; - $region = drupal_region_class($variables['region']); - $variables['classes_array'][] = $region; - $variables['theme_hook_suggestions'][] = 'region__' . $region; + $variables['classes_array'][] = drupal_region_class($variables['region']); + $variables['theme_hook_suggestions'][] = 'region__' . $variables['region']; } /** |