summaryrefslogtreecommitdiffstats
path: root/editclassifications.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 /editclassifications.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 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi
index 765a34fcb..1ae6e553c 100755
--- a/editclassifications.cgi
+++ b/editclassifications.cgi
@@ -196,7 +196,7 @@ if ($action eq 'reclassify') {
if (defined $cgi->param('add_products')) {
check_token_data($token, 'reclassify_classifications');
if (defined $cgi->param('prodlist')) {
- foreach my $prod ($cgi->param("prodlist")) {
+ foreach my $prod ($cgi->multi_param("prodlist")) {
trick_taint($prod);
$sth->execute($classification->id, $prod);
push @names, $prod;
@@ -206,7 +206,7 @@ if ($action eq 'reclassify') {
} elsif (defined $cgi->param('remove_products')) {
check_token_data($token, 'reclassify_classifications');
if (defined $cgi->param('myprodlist')) {
- foreach my $prod ($cgi->param("myprodlist")) {
+ foreach my $prod ($cgi->multi_param('myprodlist')) {
trick_taint($prod);
$sth->execute(1, $prod);
push @names, $prod;