From: myk%mozilla.org <> Date: Tue, 4 Jun 2002 07:12:57 +0000 (+0000) Subject: Fix for bug 148767: Eliminates warning in rare situations. X-Git-Tag: bugzilla-2.17.1~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca74bcb8c2c7f3325e6455de9bc43b4c6b0fc36;p=thirdparty%2Fbugzilla.git Fix for bug 148767: Eliminates warning in rare situations. Patch by Jouni Heikniemi . 2rx=myk --- diff --git a/buglist.cgi b/buglist.cgi index 438b673ae0..b7fb72a69f 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; }