diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index 438b673ae0c..b7fb72a69f7 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/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; }