Bug 16154: CGI->multi_param - Declare a list
[koha.git] / admin / oai_sets.pl
index 1ac919b..1413022 100755 (executable)
@@ -52,7 +52,7 @@ if($op && $op eq "new") {
 } elsif($op && $op eq "savenew") {
     my $spec = $input->param('spec');
     my $name = $input->param('name');
-    my @descriptions = $input->param('description');
+    my @descriptions = $input->multi_param('description');
     AddOAISet({
         spec => $spec,
         name => $name,
@@ -72,7 +72,7 @@ if($op && $op eq "new") {
     my $id = $input->param('id');
     my $spec = $input->param('spec');
     my $name = $input->param('name');
-    my @descriptions = $input->param('description');
+    my @descriptions = $input->multi_param('description');
     ModOAISet({
         id => $id,
         spec => $spec,