Fix the bug where undefined variable was used in _editPost method of soc.view.models.org_admin module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/org_admin.py Wed Mar 04 21:23:42 2009 +0000
+++ b/app/soc/views/models/org_admin.py Wed Mar 04 21:24:32 2009 +0000
@@ -147,7 +147,7 @@
if not entity:
fields['user'] = fields['link_id']
fields['link_id'] = fields['user'].link_id
- group_logic = params['group_logic']
+ group_logic = self._params['group_logic']
group_entity = group_logic.getFromKeyName(fields['scope_path'])
fields['program'] = group_entity.scope