require "$RealBin/../BuildFarmWeb.pl";
my $query = new CGI;
-my @members = grep {$_ ne "" } $query->param('member');
+my @members = grep {$_ ne "" } $query->multi_param('member');
map { s/[^a-zA-Z0-9_ -]//g; } @members;
my $max_days = $query->param('max_days') + 0 || 10;
-my @branches = grep {$_ ne "" } $query->param('branch');
+my @branches = grep {$_ ne "" } $query->multi_param('branch');
map { s/[^a-zA-Z0-9_ .-]//g; } @branches;
-my @stages = grep {$_ ne "" } $query->param('stage');
+my @stages = grep {$_ ne "" } $query->multi_param('stage');
map { s/[^a-zA-Z0-9_ :-]//g; } @stages;
my $dsn="dbi:Pg:dbname=$dbname";
require "$RealBin/../BuildFarmWeb.pl";
my $query = new CGI;
-my @members = $query->param('member');
+my @members = $query->multi_param('member');
map { s/[^a-zA-Z0-9_ -]//g; } @members;
my $dsn="dbi:Pg:dbname=$dbname";