summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 438b673ae..b7fb72a69 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1290,7 +1290,7 @@ my $query = GenerateSQL(\@selectnames, $::buffer);
################################################################################
# Add to the query some instructions for sorting the bug list.
-if ($::COOKIE{'LASTORDER'} && !$order || $order =~ /^reuse/i) {
+if ($::COOKIE{'LASTORDER'} && (!$order || $order =~ /^reuse/i)) {
$order = url_decode($::COOKIE{'LASTORDER'});
$order_from_cookie = 1;
}