From 31361f9f5457daad1c114087f3255e4aa15dd040 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 26 Sep 2016 20:26:59 +0200 Subject: [PATCH] Fixed AttributeError in MotionAccessPermissions (Fixed #2435) --- openslides/motions/access_permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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