summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-10-04 17:54:47 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-10-04 17:54:47 +0200
commitd9ff8889f92abbaef07b0ef98da0064e8965176e (patch)
tree5fd7f34e479b09abfe0532632e3188d30df62bf8
parent20fd31fdbd177dcbd99425a1c20beaa062d07b8f (diff)
downloadbugzilla-d9ff8889f92abbaef07b0ef98da0064e8965176e.tar.gz
bugzilla-d9ff8889f92abbaef07b0ef98da0064e8965176e.tar.xz
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
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 7c6e9590c..9272dec60 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);