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