diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index c97d111957f9d750f7355af913dc89d3d03b4c2c..038e8bee2804a250d0d98a4834e98732e874e975 100644 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -2019,7 +2019,7 @@ class ListBoxRenderer: # Set the total number of objects. self.total_size = sum([s.object_list_len for s in report_section_list]) limit = param_dict.get('limit') - if isintance(limit, basestring): + if isinstance(limit, basestring): limit = int(limit) self.is_sample = self.total_size == limit