|| $cgi->param('pkgnum') =~ /^(\d+)$/
);
-my @statuses = $cgi->param('event_status');
+my @statuses = $cgi->multi_param('event_status');
my $title = 'Billing events';
if ( $statuses[0] eq 'failed' and !defined($statuses[1]) ) {
# tweak the title if we're showing only failed events
'extra_sql' => $where,
'order_by' => 'ORDER BY _date ASC',
'addl_from' => $join,
- 'debug' => 2,
};
my $count_sql = "SELECT COUNT(*) FROM cust_event $join $where";