From: Frédéric Buclin Date: Thu, 4 Oct 2012 15:55:48 +0000 (+0200) Subject: Bug 790909: Editing dependencies from the "Change Several Bugs at Once" page does... X-Git-Tag: bugzilla-4.0.9~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c69281320e9b5b5050d436f953a014982f581be;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/process_bug.cgi b/process_bug.cgi index 57d5d7e468..264893fac7 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -279,7 +279,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);