Commit 924bcd7f authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 139632: connect to the database in enter_bug.cgi in case it is time…

Fix for bug 139632: connect to the database in enter_bug.cgi in case it is time to rebuild the version cache, which needs a database connection. Patch by Myk Melez <myk@mozilla.org>. 2xr=gerv
parent 07e523a8
......@@ -53,6 +53,11 @@ use vars qw(
%versions
);
# We have to connect to the database, even though we don't use it in this code,
# because we might occasionally rebuild the version cache, which causes tokens
# to get deleted from the database, which needs a database connection.
ConnectToDatabase();
# If we're using bug groups to restrict bug entry, we need to know who the
# user is right from the start.
confirm_login() if (Param("usebuggroupsentry"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment