Skip to content

Commit 45b8e03

Browse files
author
Richard Jones
committed
fixed error in cgi/templates.py [SF#652089]
1 parent e80a159 commit 45b8e03

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ are given with the most recent entry first.
66
- implemented whole-database locking
77
- hyperlinking of special text (url, email, item designator) in messages
88
- fixed time default in date.py
9+
- fixed error in cgi/templates.py (sf bug 652089)
910

1011

1112
2002-12-11 0.5.3

roundup/cgi/templating.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,9 +1187,9 @@ def menu(self, size=None, height=None, showid=0, additional=[],
11871187
k = linkcl.labelprop(1)
11881188

11891189
# make sure we list the current values if they're retired
1190-
for value in self._value:
1191-
if value not in options:
1192-
options.insert(0, value)
1190+
for val in value:
1191+
if val not in options:
1192+
options.insert(0, val)
11931193

11941194
for optionid in options:
11951195
# get the option value, and if it's None use an empty string

0 commit comments

Comments
 (0)