diff roundup/cgi/templating.py @ 1342:8de9e5940c30

fixed error in cgi/templates.py [SF#652089]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 18 Dec 2002 23:21:17 +0000
parents 9cf1e5583f60
children 013ae8c6c8b1
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Wed Dec 18 05:24:41 2002 +0000
+++ b/roundup/cgi/templating.py	Wed Dec 18 23:21:17 2002 +0000
@@ -1187,9 +1187,9 @@
         k = linkcl.labelprop(1)
 
         # make sure we list the current values if they're retired
-        for value in self._value:
-            if value not in options:
-                options.insert(0, value)
+        for val in value:
+            if val not in options:
+                options.insert(0, val)
 
         for optionid in options:
             # get the option value, and if it's None use an empty string

Roundup Issue Tracker: http://roundup-tracker.org/