Fix for bug 148767: Eliminates warning in rare situations.

Patch by Jouni Heikniemi <jouni@heikniemi.net>
2xr=myk


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-2_16-BRANCH@122613 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org
2002-06-04 00:15:23 +00:00
parent 80193518d9
commit e331ef7da2

View File

@@ -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;
}