summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-10 01:05:22 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-10 01:05:22 +0000
commitc675d4f951841a2a0e44c0f44a61c7e94c49c9dc (patch)
tree4d55a5bdb461aaa11d1270d7821fbf4d1d1baba4 /includes
parent00b044c476655b385b16ff3b044ff88bfa43f40e (diff)
downloadbrdo-c675d4f951841a2a0e44c0f44a61c7e94c49c9dc.tar.gz
brdo-c675d4f951841a2a0e44c0f44a61c7e94c49c9dc.tar.bz2
#680022 by yched: Fixed template_preprocess() generates invalid CSS classes.
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 328c707d3..6ddf25747 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -2250,7 +2250,7 @@ function template_preprocess(&$variables, $hook) {
$variables['directory'] = path_to_theme();
// Initialize html class attribute for the current hook.
- $variables['classes_array'] = array($hook);
+ $variables['classes_array'] = array(drupal_html_class($hook));
// Initialize attributes for the top-level template entity and its title and
// content.