Skip to content
Snippets Groups Projects
Commit f6d05559 authored by Les Lim's avatar Les Lim Committed by Matt Vance
Browse files

#1913472 by Les Lim: Fixing undefined index notice.

parent 24daabb7
No related branches found
Tags 7.x-1.0-beta1
No related merge requests found
......@@ -268,7 +268,9 @@ function template_preprocess_footable_view(&$vars) {
// Add FooTable classes and data attributes.
$vars['classes_array'][] = 'footable';
$vars['data_class'][$options['footable']['expand']] = 'expand';
if (!empty($options['footable']['expand'])) {
$vars['data_class'][$options['footable']['expand']] = 'expand';
}
// Add FooTable library files and calling script.
drupal_add_library('footable', 'footable');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment