From: Frédéric Buclin Date: Thu, 4 Oct 2012 15:54:47 +0000 (+0200) Subject: Bug 790909: Editing dependencies from the "Change Several Bugs at Once" page does... X-Git-Tag: bugzilla-4.2.4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ff8889f92abbaef07b0ef98da0064e8965176e;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 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);