diff --git a/product/ERP5/Document/PredicateGroup.py b/product/ERP5/Document/PredicateGroup.py index fbb415f5fb5d041b52b2aefe7539cab434cde42c..709f40cde25113d8d3cdfc8cd938ac76dca32b50 100755 --- a/product/ERP5/Document/PredicateGroup.py +++ b/product/ERP5/Document/PredicateGroup.py @@ -198,7 +198,7 @@ identify a bank account.""" if not hasattr(aq_base(self), '_identity_criterion'): self._identity_criterion = {} self._range_criterion = {} - if identity != [] : + if identity != None : self._identity_criterion[property] = identity if min != '' or max != '' : self._range_criterion[property] = (min, max)