Commit 3e777873 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 217485: displays query in the "please wait" server push page if the…

Fix for bug 217485: displays query in the "please wait" server push page if the "debug" parameter is set in the URL. r=justdave a=justdave
parent 4c4e35be
...@@ -626,6 +626,11 @@ $query .= " ORDER BY $db_order " if ($order); ...@@ -626,6 +626,11 @@ $query .= " ORDER BY $db_order " if ($order);
# Query Execution # Query Execution
################################################################################ ################################################################################
if ($::FORM{'debug'}) {
$vars->{'debug'} = 1;
$vars->{'query'} = $query;
}
# Time to use server push to display an interim message to the user until # Time to use server push to display an interim message to the user until
# the query completes and we can display the bug list. # the query completes and we can display the bug list.
if ($serverpush) { if ($serverpush) {
...@@ -763,11 +768,6 @@ if (scalar(@bugowners) > 1 && UserInGroup('editbugs')) { ...@@ -763,11 +768,6 @@ if (scalar(@bugowners) > 1 && UserInGroup('editbugs')) {
$vars->{'bugowners'} = $bugowners; $vars->{'bugowners'} = $bugowners;
} }
if ($::FORM{'debug'}) {
$vars->{'debug'} = 1;
$vars->{'query'} = $query;
}
# Whether or not to split the column titles across two rows to make # Whether or not to split the column titles across two rows to make
# the list more compact. # the list more compact.
$vars->{'splitheader'} = $::COOKIE{'SPLITHEADER'} ? 1 : 0; $vars->{'splitheader'} = $::COOKIE{'SPLITHEADER'} ? 1 : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment