diff --git a/openslides/motions/access_permissions.py b/openslides/motions/access_permissions.py index 765b7de4c..270b757d4 100644 --- a/openslides/motions/access_permissions.py +++ b/openslides/motions/access_permissions.py @@ -45,7 +45,7 @@ class MotionAccessPermissions(BaseAccessPermissions): for the projector. Removes several fields. """ data = full_data.copy() - for i, field in enumerate(self.get_comments_config_fields()): + for i, field in enumerate(config['motions_comments']): if not field.get('public'): try: data['comments'][i] = None