buggy fix tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 12 May 2009 17:39:45 +0200
branchtls-sprint
changeset 1749 b61dc3e5dca5
parent 1748 aa1806e76699
child 1750 9df5e65c5f79
buggy fix
web/formwidgets.py
--- a/web/formwidgets.py	Tue May 12 17:16:05 2009 +0200
+++ b/web/formwidgets.py	Tue May 12 17:39:45 2009 +0200
@@ -50,8 +50,6 @@
         """
         name = form.context[field]['name']
         values = form.context[field]['value']
-        if not values:
-            values = (INTERNAL_FIELD_VALUE,)
         if not isinstance(values, (tuple, list)):
             values = (values,)
         attrs = dict(self.attrs)