]> 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:55:48 +0000 (17:55 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 4 Oct 2012 15:55:48 +0000 (17:55 +0200)
r=dkl a=LpSolit

process_bug.cgi

index 57d5d7e46893580006d999fce84b1ff29e817ff6..264893fac7b3078af625d53ccbfc9fa7fb829774 100755 (executable)
@@ -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);