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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user