Skip to content

Commit 228257e

Browse files
author
Richard Jones
committed
Nothing like a live demo to show up the bugs ;)
1 parent d4002b3 commit 228257e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

roundup/cgi_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.123 2002-05-22 05:04:13 richard Exp $
18+
# $Id: cgi_client.py,v 1.124 2002-05-24 02:09:24 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -128,6 +128,8 @@ def make_index_link(self, name):
128128
# fix up the CURRENT USER if needed (handle None too since that's
129129
# the old flag value)
130130
if l in (None, 'CURRENT USER'):
131+
if not self.user:
132+
continue
131133
l = [self.db.user.lookup(self.user)]
132134

133135
# add
@@ -1397,6 +1399,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
13971399

13981400
#
13991401
# $Log: not supported by cvs2svn $
1402+
# Revision 1.123 2002/05/22 05:04:13 richard
1403+
# Oops
1404+
#
14001405
# Revision 1.122 2002/05/22 04:12:05 richard
14011406
# . applied patch #558876 ] cgi client customization
14021407
# ... with significant additions and modifications ;)

0 commit comments

Comments
 (0)