From: lpsolit%gmail.com <> Date: Fri, 21 Sep 2007 02:54:10 +0000 (+0000) Subject: Fixing bug 395771 for real X-Git-Tag: bugzilla-3.0.3~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e636861da7e1458626f4db88ebd8764855e30c07;p=thirdparty%2Fbugzilla.git Fixing bug 395771 for real --- diff --git a/buglist.cgi b/buglist.cgi index 81b0f2c21d..e8ed31715b 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -932,7 +932,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,