diff options
author | myk%mozilla.org <> | 2002-06-04 09:12:57 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2002-06-04 09:12:57 +0200 |
commit | 4ca74bcb8c2c7f3325e6455de9bc43b4c6b0fc36 (patch) | |
tree | a4df4e61287e4cfd400b4cb2480952815dd31fc2 /buglist.cgi | |
parent | 92c42f457c526f0d45ef6ce505cd89edbee9b14d (diff) | |
download | bugzilla-4ca74bcb8c2c7f3325e6455de9bc43b4c6b0fc36.tar.gz bugzilla-4ca74bcb8c2c7f3325e6455de9bc43b4c6b0fc36.tar.xz |
Fix for bug 148767: Eliminates warning in rare situations.
Patch by Jouni Heikniemi <jouni@heikniemi.net>.
2rx=myk
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
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; } |