Fix the bug where undefined variable was used in _editPost method of soc.view.models.org_admin module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 04 Mar 2009 21:24:32 +0000
changeset 1663 032210fcb952
parent 1662 1ccf04cbca15
child 1664 07c536240838
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
app/soc/views/models/org_admin.py
--- 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