diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-10 01:05:22 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-10 01:05:22 +0000 |
commit | c675d4f951841a2a0e44c0f44a61c7e94c49c9dc (patch) | |
tree | 4d55a5bdb461aaa11d1270d7821fbf4d1d1baba4 | |
parent | 00b044c476655b385b16ff3b044ff88bfa43f40e (diff) | |
download | brdo-c675d4f951841a2a0e44c0f44a61c7e94c49c9dc.tar.gz brdo-c675d4f951841a2a0e44c0f44a61c7e94c49c9dc.tar.bz2 |
#680022 by yched: Fixed template_preprocess() generates invalid CSS classes.
-rw-r--r-- | includes/theme.inc | 2 |
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. |