summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-14 02:50:47 +0100
committerlpsolit%gmail.com <>2005-11-14 02:50:47 +0100
commit03352ccf9bdb6b816e0650f8f76e008a17df87c0 (patch)
tree8a641b8c42abdd70b94bb3a9c87fe9a0788cb6be /report.cgi
parente4fa51953ec018c733040ccf9a478b2e8aac0bac (diff)
downloadbugzilla-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.gz
bugzilla-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.xz
Bug 313695: buglist.cgi and some other scripts do not use the shadow DB anymore - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/report.cgi b/report.cgi
index 4e2152542..7286c551e 100755
--- a/report.cgi
+++ b/report.cgi
@@ -35,7 +35,6 @@ my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
my $vars = {};
my $buffer = $cgi->query_string();
-my $dbh = Bugzilla->dbh;
# Go straight back to query.cgi if we are adding a boolean chart.
if (grep(/^cmd-/, $cgi->param())) {
@@ -53,7 +52,7 @@ GetVersionTable();
Bugzilla->login(LOGIN_REQUIRED);
-Bugzilla->switch_to_shadow_db();
+my $dbh = Bugzilla->switch_to_shadow_db();
my $action = $cgi->param('action') || 'menu';