summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc5
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'];
}
/**