Commit 67608281 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 790909: Editing dependencies from the "Change Several Bugs at Once" page…

Bug 790909: Editing dependencies from the "Change Several Bugs at Once" page does not work as expected (bug IDs are incorrectly parsed) r=dkl a=LpSolit
parent 3b512a7f
......@@ -259,7 +259,7 @@ foreach my $dep_field (qw(dependson blocked)) {
if (should_set($dep_field)) {
if (my $dep_action = $cgi->param("${dep_field}_action")) {
$set_all_fields{$dep_field}->{$dep_action} =
[split(/\s,/, $cgi->param($dep_field))];
[split(/[\s,]+/, $cgi->param($dep_field))];
}
else {
$set_all_fields{$dep_field}->{set} = $cgi->param($dep_field);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment