From 739033c0652d84dafeed2dfa77559be2092e8425 Mon Sep 17 00:00:00 2001 From: phear Date: Sun, 9 Oct 2005 22:16:33 +0000 Subject: [PATCH] fixed condition when logout button appears. --- helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.py b/helper.py index 4207a4a..5d56b82 100644 --- a/helper.py +++ b/helper.py @@ -39,7 +39,7 @@ def footer(req,form): except: #not logged in username = "" sessionid = "" - if (username == "") or (sessionid == "") or ("logout" not in form.keys()): + if ((username != "") and (sessionid != "")) and ("logout" not in form.keys()): data = """