summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 8a0ee1875..438b673ae 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1356,7 +1356,7 @@ if ($order) {
}
# If we are sorting by votes, sort in descending order.
- if ($db_order =~ /bugs.votes\s+(asc|desc){0}/i) {
+ if ($db_order =~ /bugs.votes\s*(asc|desc){0}/i) {
$db_order =~ s/bugs.votes/bugs.votes desc/i;
}