# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: drupal/includes/theme.inc
--- drupal/includes/theme.inc Base (1.599)
+++ drupal/includes/theme.inc Locally Modified (Based On 1.599)
@@ -2461,8 +2461,8 @@
   $variables['content'] = $variables['elements']['#children'];
   $variables['region'] = $variables['elements']['#region'];
 
-  $region = drupal_region_class($variables['region']);
-  $variables['classes_array'][] = $region;
+  $region = $variables['region'];
+  $variables['classes_array'][] = drupal_region_class($region);
   $variables['theme_hook_suggestions'][] = 'region__' . $region;
 }
 
