Code

no idea why this code existed, but bye bye
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 18 Sep 2002 00:00:24 +0000 (00:00 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 18 Sep 2002 00:00:24 +0000 (00:00 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1184 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/templating.py

index 465a4038e5b4eaeaf94421d0c81fcabe1964bc53..2f2a478f14e570dbe49dc0cae1c0b21f67dfb6a5 100644 (file)
@@ -954,9 +954,6 @@ class LinkHTMLProperty(HTMLProperty):
         # sort function
         sortfunc = make_sort_function(self._db, self._prop.classname)
 
-        # force the value to be a single choice
-        if isinstance(value, type('')):
-            value = value[0]
         linkcl = self._db.getclass(self._prop.classname)
         l = ['<select name="%s">'%self._name]
         k = linkcl.labelprop(1)