aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-02-21 17:20:59 +0100
committerChristian Ruppert <idl0r@gentoo.org>2011-02-21 17:20:59 +0100
commit44048004f983c0b5091065ef67798f4adb17bafd (patch)
tree75efdde212c39ccfd3e02a7bbd9f9e2c511986cb /custom_userhistory.cgi
parentAlways allow viewing text/plain attachments (diff)
downloadbugzilla-44048004f983c0b5091065ef67798f4adb17bafd.tar.gz
bugzilla-44048004f983c0b5091065ef67798f4adb17bafd.tar.bz2
bugzilla-44048004f983c0b5091065ef67798f4adb17bafd.zip
Switch to shadowdb after requesting login
Diffstat (limited to 'custom_userhistory.cgi')
-rwxr-xr-xcustom_userhistory.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_userhistory.cgi b/custom_userhistory.cgi
index 902003eca..b21e5e674 100755
--- a/custom_userhistory.cgi
+++ b/custom_userhistory.cgi
@@ -10,8 +10,8 @@ use Bugzilla::Util;
my $cgi = Bugzilla->cgi;
my $vars = {};
-my $dbh = Bugzilla->switch_to_shadow_db();
my $myuser = Bugzilla->login(LOGIN_REQUIRED);
+my $dbh = Bugzilla->switch_to_shadow_db();
my @bindValues;
my $query;