mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 15:51:37 +00:00
Fix for bug 47914: buglist.cgi always had a not-logged-in footer if you were unlucky enough to have a login cookie that got corrupted in the shadow database. This patch makes buglist.cgi switch back to the primary database before looking up your login cookie for the footer.
Patch by Myk Melez <myk@mozilla.org> r= justdave@syndicomm.com
This commit is contained in:
parent
2a405d7fe5
commit
32a7a16306
@ -1588,6 +1588,12 @@ if ($count > 0) {
|
||||
print "</FORM>\n";
|
||||
}
|
||||
|
||||
# 2001-06-20, myk@mozilla.org, bug 47914:
|
||||
# Switch back from the shadow database to the regular database
|
||||
# so that PutFooter() can determine the current user even if
|
||||
# the "logincookies" table is corrupted in the shadow database.
|
||||
SendSQL("USE $::db_name");
|
||||
|
||||
PutFooter();
|
||||
|
||||
if ($serverpush) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user