web/views/cwproperties.py
changeset 6069 d7cef08aad27
parent 5877 0c7b7b76a84f
child 6141 b8287e54b528
--- a/web/views/cwproperties.py	Wed Aug 04 11:16:39 2010 +0200
+++ b/web/views/cwproperties.py	Wed Aug 04 11:16:40 2010 +0200
@@ -353,7 +353,7 @@
         if vocab is not None:
             if callable(vocab):
                 # list() just in case its a generator function
-                self.choices = list(vocab(form._cw))
+                self.choices = list(vocab())
             else:
                 self.choices = vocab
             wdg = Select()