From 6da37c07ebeee50cd15fc0f2c5b8543288daba00 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Thu, 20 Sep 2007 21:54:10 +0000 Subject: [PATCH] Fixing bug 395771 for real git-svn-id: svn://10.0.0.236/trunk@236394 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index d04830a2998..73649f7852a 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/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,