From 90d86a9744883ccc120a0a955ffade72990e1505 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 14 Apr 2016 21:03:00 +0200 Subject: Bug 1088022 - Bump min version to CGI 4.09 r=dkl --- editclassifications.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editclassifications.cgi') 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; -- cgit v1.2.3-24-g4f1b