aboutsummaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-10 08:30:39 +0000
committerlpsolit%gmail.com <>2005-08-10 08:30:39 +0000
commit8d06d1ef539f3f8becc56953b040bc710ec9a859 (patch)
treeec55649c78ed3ccfcb79257b3269d30c2703cb8d /query.cgi
parent67b67a2e824b5120c3d8d06948927b5372ea98a6 (diff)
downloadbugs-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar
bugs-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.gz
bugs-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.bz2
bugs-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.xz
bugs-8d06d1ef539f3f8becc56953b040bc710ec9a859.zip
Bug 301508: Remove CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat,wicked a=justdave
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/query.cgi b/query.cgi
index ff04c15a0..a25f8535d 100755
--- a/query.cgi
+++ b/query.cgi
@@ -28,7 +28,7 @@
use strict;
use lib ".";
-require "CGI.pl";
+require "globals.pl";
use Bugzilla::Constants;
use Bugzilla::Search;
@@ -36,7 +36,6 @@ use Bugzilla::User;
use Bugzilla::Util;
use vars qw(
- @CheckOptionValues
@legal_resolution
@legal_bug_status
@legal_components
@@ -57,6 +56,7 @@ use vars qw(
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
+my $buffer = $cgi->query_string();
if ($cgi->param("GoAheadAndLogIn")) {
# We got here from a login page, probably from relogin.cgi. We better
@@ -112,7 +112,7 @@ if ($cgi->param('nukedefaultquery')) {
" WHERE userid = ? AND name = ?",
undef, ($userid, DEFAULT_QUERY_NAME));
}
- $::buffer = "";
+ $buffer = "";
}
my $userdefaultquery;
@@ -200,7 +200,7 @@ sub PrefillForm {
}
-if (!PrefillForm($::buffer)) {
+if (!PrefillForm($buffer)) {
# Ah-hah, there was no form stuff specified. Do it again with the
# default query.
if ($userdefaultquery) {