summaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
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;