summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/query.cgi b/query.cgi
index f41310bb7..a3e3445b8 100755
--- a/query.cgi
+++ b/query.cgi
@@ -96,6 +96,9 @@ if ($cgi->param('nukedefaultquery')) {
$buffer = "";
}
+# We are done with changes committed to the DB.
+$dbh = Bugzilla->switch_to_shadow_db;
+
my $userdefaultquery;
if ($userid) {
$userdefaultquery = $dbh->selectrow_array(