]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 47914: buglist.cgi always had a not-logged-in footer if you were unlucky...
authorjustdave%syndicomm.com <>
Thu, 21 Jun 2001 09:02:30 +0000 (09:02 +0000)
committerjustdave%syndicomm.com <>
Thu, 21 Jun 2001 09:02:30 +0000 (09:02 +0000)
Patch by Myk Melez <myk@mozilla.org>
r= justdave@syndicomm.com

buglist.cgi

index 206b968ca769f5fec6c8bbab5ef5a6462387060b..98bb93484fb5b9e426bdbe228c8f6fd1abc0f2f3 100755 (executable)
@@ -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) {