summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-06-04 09:12:57 +0200
committermyk%mozilla.org <>2002-06-04 09:12:57 +0200
commit4ca74bcb8c2c7f3325e6455de9bc43b4c6b0fc36 (patch)
treea4df4e61287e4cfd400b4cb2480952815dd31fc2 /buglist.cgi
parent92c42f457c526f0d45ef6ce505cd89edbee9b14d (diff)
downloadbugzilla-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-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;
}