From 83388dc5edef15f2da40ad0678f3d7082f9ebd2a Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" Date: Thu, 21 Jun 2001 02:02:30 +0000 Subject: [PATCH] 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 r= justdave@syndicomm.com git-svn-id: svn://10.0.0.236/trunk@97650 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/buglist.cgi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index 206b968ca76..98bb93484fb 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/buglist.cgi @@ -1588,6 +1588,12 @@ if ($count > 0) { print "\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) {