From 205d14957f43bd0fa432ecd2dadc87c5509d66a5 Mon Sep 17 00:00:00 2001 From: viega Date: Sun, 31 May 1998 18:07:24 +0000 Subject: Added Scott's bug fix. --- cgi/admin | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cgi/admin') diff --git a/cgi/admin b/cgi/admin index 78ea4ab64..17ff21a47 100755 --- a/cgi/admin +++ b/cgi/admin @@ -21,7 +21,7 @@ To run stand-alone for debugging, set env var PATH_INFO to name of list and, optionally, options category.""" -__version__ = "$Revision: 648 $" +__version__ = "$Revision: 655 $" import sys import os, cgi, string, crypt, types, time @@ -704,7 +704,8 @@ def ChangeOptions(lst, category, cgi_info, document): # is not "members" and the request is not from the login page # -scott 19980515 # - if category != 'members' and not cgi_info.has_key("request_login"): + if category != 'members' and not cgi_info.has_key("request_login") and\ + len(cgi_info.keys()) > 1: opt_list = GetConfigOptions(lst, category) for item in opt_list: if len(item) < 5: -- cgit v1.3.1