summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
commit90d86a9744883ccc120a0a955ffade72990e1505 (patch)
tree07fd038fc41a2de0259f2f7c6a9de0d55e8a1e34 /show_bug.cgi
parentae22da8710d00232d28b7c6b9093d2b7e33b0627 (diff)
downloadbugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.gz
bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.xz
Bug 1088022 - Bump min version to CGI 4.09
r=dkl
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 09cb91a86..41aa00682 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -61,7 +61,7 @@ if ($single) {
}
}
} else {
- foreach my $id ($cgi->param('id')) {
+ foreach my $id ($cgi->multi_param('id')) {
# Be kind enough and accept URLs of the form: id=1,2,3.
my @ids = split(/,/, $id);
my @check_bugs;
@@ -108,7 +108,7 @@ my @fieldlist = (Bugzilla::Bug->fields, 'flag', 'group', 'long_desc',
my %displayfields;
if ($cgi->param("field")) {
- @fieldlist = $cgi->param("field");
+ @fieldlist = $cgi->multi_param("field");
}
unless ($user->is_timetracker) {
@@ -119,8 +119,8 @@ foreach (@fieldlist) {
$displayfields{$_} = 1;
}
-foreach ($cgi->param("excludefield")) {
- $displayfields{$_} = undef;
+foreach ($cgi->multi_param("excludefield")) {
+ $displayfields{$_} = undef;
}
$vars->{'displayfields'} = \%displayfields;