]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 790909: Editing dependencies from the "Change Several Bugs at Once" page does...
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 4 Oct 2012 15:52:02 +0000 (17:52 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 4 Oct 2012 15:52:02 +0000 (17:52 +0200)
r=dkl a=LpSolit

process_bug.cgi

index 05c882ed86b67e0e291a6e194a3d83bb5acf33db..cf2f31b6ff7880d62cd6f9dfee405ca90b641f3b 100755 (executable)
@@ -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);