#680022 by yched: Fixed template_preprocess() generates invalid CSS classes.

merge-requests/26/head
Angie Byron 2010-01-10 01:05:22 +00:00
parent 00b044c476
commit c675d4f951
1 changed files with 1 additions and 1 deletions

View File

@ -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.