Code

more FieldStorage fun
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 3 Sep 2002 07:42:38 +0000 (07:42 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 3 Sep 2002 07:42:38 +0000 (07:42 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1048 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/client.py

index 39ceb82d1a0537fc78605e34be5af12620fcc9d5..b3f862842f650825eda6a6ebd94b4dd68e6ffd2d 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.9 2002-09-03 07:13:42 richard Exp $
+# $Id: client.py,v 1.10 2002-09-03 07:42:38 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -1034,7 +1034,7 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')):
         elif isinstance(proptype, hyperdb.Multilink):
             value = form[key]
             if not isinstance(value, type([])):
-                value = [i.strip() for i in value.split(',')]
+                value = [i.strip() for i in value.value.split(',')]
             else:
                 value = [i.value.strip() for i in value]
             link = cl.properties[key].classname