[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - vocabularywidget.py:1.4

Fred L. Drake, Jr. fred@zope.com
Wed, 21 May 2003 20:17:40 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv21236

Modified Files:
	vocabularywidget.py 
Log Message:
Fix broken reference to vocabulary.


=== Zope3/src/zope/app/browser/form/vocabularywidget.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/form/vocabularywidget.py:1.3	Wed May 21 17:11:23 2003
+++ Zope3/src/zope/app/browser/form/vocabularywidget.py	Wed May 21 20:17:40 2003
@@ -67,7 +67,7 @@
     view = _get_vocabulary_widget(field, request, viewname)
     query = field.vocabulary.getQuery()
     if query is None and IIterableVocabulary.isImplementedBy(field.vocabulary):
-        query = IterableVocabularyQuery(vocabulary)
+        query = IterableVocabularyQuery(field.vocabulary)
     if query is not None:
         queryview = getView(query, queryname, request)
         view.setQuery(query, queryview)