diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-10-04 17:52:02 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-10-04 17:52:02 +0200 |
commit | c204c9ebc89dd923378257730309ff4a9722b684 (patch) | |
tree | 66a743d32ce3952c529a8a7c4b041d79f237dc37 | |
parent | a6f594106574a8ac3704e1a5a792ca1e79fd1222 (diff) | |
download | bugs-c204c9ebc89dd923378257730309ff4a9722b684.tar bugs-c204c9ebc89dd923378257730309ff4a9722b684.tar.gz bugs-c204c9ebc89dd923378257730309ff4a9722b684.tar.bz2 bugs-c204c9ebc89dd923378257730309ff4a9722b684.tar.xz bugs-c204c9ebc89dd923378257730309ff4a9722b684.zip |
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-x | process_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 05c882ed8..cf2f31b6f 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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); |