diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-02-21 17:20:59 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-02-21 17:20:59 +0100 |
commit | 44048004f983c0b5091065ef67798f4adb17bafd (patch) | |
tree | 75efdde212c39ccfd3e02a7bbd9f9e2c511986cb /custom_disabled.cgi | |
parent | Always allow viewing text/plain attachments (diff) | |
download | bugzilla-44048004f983c0b5091065ef67798f4adb17bafd.tar.gz bugzilla-44048004f983c0b5091065ef67798f4adb17bafd.tar.bz2 bugzilla-44048004f983c0b5091065ef67798f4adb17bafd.zip |
Switch to shadowdb after requesting login
Diffstat (limited to 'custom_disabled.cgi')
-rwxr-xr-x | custom_disabled.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_disabled.cgi b/custom_disabled.cgi index 594aadee0..8ac3f6e98 100755 --- a/custom_disabled.cgi +++ b/custom_disabled.cgi @@ -8,8 +8,8 @@ use Bugzilla::Constants; my $cgi = Bugzilla->cgi; my $vars = {}; -my $dbh = Bugzilla->switch_to_shadow_db(); my $user = Bugzilla->login(LOGIN_REQUIRED); +my $dbh = Bugzilla->switch_to_shadow_db(); print $cgi->header(-type=>'text/html'); |