commit 0ff7abfabcea737ca983b241ecbdbf077271767d Author: Alan Burke Date: Fri Dec 9 15:08:19 2011 +0000 Change the output for Spread to return a proper table diff --git a/views_summarize.module b/views_summarize.module index efc2691..a015638 100644 --- a/views_summarize.module +++ b/views_summarize.module @@ -258,6 +258,6 @@ function theme_views_summarize_type_spread($variables) { $rows[] = array($value, $count); } - return '
' . t('Spread:') . '
' . - theme('table', array(), $rows); + $header = array(array('data' => t('Spread'), 'colspan' => 2)); + return theme('table', array('header' => $header, 'rows' => $rows)); }