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_extraperms.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_extraperms.cgi')
-rwxr-xr-xcustom_extraperms.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_extraperms.cgi b/custom_extraperms.cgi
index b793cb5ce..174f50ffe 100755
--- a/custom_extraperms.cgi
+++ b/custom_extraperms.cgi
@@ -9,8 +9,8 @@ use Bugzilla::Error;
use Bugzilla::Util;
my $cgi = Bugzilla->cgi;
-my $dbh = Bugzilla->switch_to_shadow_db();
my $user = Bugzilla->login(LOGIN_REQUIRED);
+my $dbh = Bugzilla->switch_to_shadow_db();
my @bindValues;