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


git-svn-id: svn://10.0.0.236/trunk@264300 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2012-10-04 16:02:22 +00:00
parent 794713aaf1
commit 0db14001b4
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8411
8412

View File

@ -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);