Array values no longer exist

This commit is contained in:
Daniel Bachhuber 2016-08-26 15:00:42 -07:00
parent f376dcf9d3
commit 7a62f86549

View file

@ -83,16 +83,6 @@ class Formatter {
if ( stripos( $fields[ $i ], '_time' ) || 'time' === $fields[ $i ] ) {
$totals[ $i ] = round( $value, 4 ) . 's';
}
if ( is_array( $value ) ) {
$new_value = '';
foreach( $value as $k => $j ) {
if ( 'time' === $k ) {
$j = round( $j, 4 ) . 's';
}
$new_value .= "{$j} / ";
}
$totals[ $i ] = rtrim( $new_value, '/ ' );
}
}
$table->setFooters( $totals );