web/formfields.py
changeset 4227 39f01be4a6c5
parent 4226 67dd296f864d
child 4228 861f20659254
--- a/web/formfields.py	Wed Jan 13 15:57:57 2010 +0100
+++ b/web/formfields.py	Wed Jan 13 15:59:31 2010 +0100
@@ -818,7 +818,8 @@
             values = (values,)
         eids = set()
         for eid in values:
-            if not eid: # AutoCompletionWidget XXX deal with this in the widget
+            # XXX 'not eid' for AutoCompletionWidget, deal with this in the widget
+            if not eid or eid == INTERNAL_FIELD_VALUE:
                 continue
             typed_eid = form.actual_eid(eid)
             if typed_eid is None: