summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-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);