Skip to content

Commit

Permalink
check explicit for None
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Mar 26, 2019
1 parent 84c735a commit 5507d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plone/app/z3cform/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _ajaxselect_options(self):
if field_name:
options['vocabularyUrl'] += '&field={0}'.format(field_name)
vocabulary = self.get_vocabulary()
if vocabulary and self.value:
if vocabulary is not None and self.value:
options['initialValues'] = dict()
for token in self.value.split(self.separator):
try:
Expand Down

1 comment on commit 5507d50

@jenkins-plone-org

This comment was marked as outdated.

Please sign in to comment.