diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 0c2c16b..117f08c 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1042,7 +1042,7 @@ function template_preprocess_table(&$variables) { } } } - if ($variables['no_striping']) { + if (!empty($variables['no_striping'])) { $variables['attributes']['data-no-striping'] = 1; } }