web/views/editcontroller.py
branchstable
changeset 1940 2565aae48d48
parent 1802 d628defebc17
child 1948 887ed691c635
--- a/web/views/editcontroller.py	Tue May 26 11:01:23 2009 +0200
+++ b/web/views/editcontroller.py	Tue May 26 11:23:39 2009 +0200
@@ -228,6 +228,9 @@
                         formparams['name'] = value[0]
                         self.relations.append('X name %(name)s')
                     value = val
+            else:
+                # no specified value, skip
+                return
         elif value is not None:
             if attrtype in ('Date', 'Datetime', 'Time'):
                 try: