From 6059e78c80326d2880f272e6b2faa03e7ef0f6a6 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 21 Sep 2007 02:53:09 +0000 Subject: Fixing bug 395771 for real --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index d04830a29..73649f785 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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, -- cgit v1.2.3-24-g4f1b