]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fixing bug 395771 for real
authorlpsolit%gmail.com <>
Fri, 21 Sep 2007 02:53:09 +0000 (02:53 +0000)
committerlpsolit%gmail.com <>
Fri, 21 Sep 2007 02:53:09 +0000 (02:53 +0000)
buglist.cgi

index d04830a29988a7494ea07966335727a53396fc88..73649f7852a6ebb036ff819e58b66f8eef758d87 100755 (executable)
@@ -946,7 +946,7 @@ $db_order =~ s/$aggregate_search/percentage_complete/g;
 # Now put $db_order into a format that Bugzilla::Search can use.
 # (We create $db_order as a string first because that's the way
 # we did it before Bugzilla::Search took an "order" argument.)
-my @orderstrings = split(/[,\s]+/, $db_order);
+my @orderstrings = split(/,\s*/, $db_order);
 
 # Generate the basic SQL query that will be used to generate the bug list.
 my $search = new Bugzilla::Search('fields' => \@selectnames,