From 70eb21091d161fe0325000af992f6f398683c92a Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Mon, 17 Jun 2002 16:38:56 +0000 Subject: Bug 151053, ConnectToDatabase/quietly_check_login sometimes not called early enough r=mattyt, jouni --- describecomponents.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'describecomponents.cgi') diff --git a/describecomponents.cgi b/describecomponents.cgi index 8ae98260b..2f723757e 100755 --- a/describecomponents.cgi +++ b/describecomponents.cgi @@ -34,10 +34,10 @@ use lib qw(.); require "CGI.pl"; ConnectToDatabase(); -GetVersionTable(); - quietly_check_login(); +GetVersionTable(); + if (!defined $::FORM{'product'}) { # Reference to a subset of %::proddesc, which the user is allowed to see my %products; -- cgit v1.2.3-24-g4f1b