From d9ff8889f92abbaef07b0ef98da0064e8965176e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 4 Oct 2012 17:54:47 +0200 Subject: [PATCH] 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 --- process_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process_bug.cgi b/process_bug.cgi index 7c6e9590c3..9272dec60c 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -277,7 +277,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); -- 2.47.2