Commit 68519575 authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Issue #1346752 by damiankloip | Marshell: Undefined variable: css_class() in include().

parent d7cb9d31
......@@ -53,6 +53,8 @@ function template_preprocess_views_view(&$vars) {
$vars['display_id'] = $view->current_display;
// Basic classes
$vars['css_class'] = '';
$vars['classes_array'] = array();
$vars['classes_array'][] = 'view';
$vars['classes_array'][] = 'view-' . drupal_clean_css_identifier($vars['name']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment