From: myk%mozilla.org <> Date: Tue, 4 Jun 2002 07:15:23 +0000 (+0000) Subject: Fix for bug 148767: Eliminates warning in rare situations. X-Git-Tag: bugzilla-2.16rc2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae027aae2b74a3d5865abec0a5b00ac48e9d5cf0;p=thirdparty%2Fbugzilla.git Fix for bug 148767: Eliminates warning in rare situations. Patch by Jouni Heikniemi 2xr=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; }