#680022 by yched: Fixed template_preprocess() generates invalid CSS classes.
parent
00b044c476
commit
c675d4f951
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue