);
my $total;
if (!$sth) {
die "execute_query failed to return sth for report $report_id: $sql";
push @errors, "Report could not be run " . $errors;
} elsif ( !$errors ) {
$total = nb_rows($sql) || 0;
my $headers = header_cell_loop($sth);
-