app/soc/views/models/role.py
changeset 1080 d533408811ba
parent 1076 063194eaf87b
child 1084 9c4221f7b747
--- a/app/soc/views/models/role.py	Fri Jan 30 10:36:23 2009 +0000
+++ b/app/soc/views/models/role.py	Fri Jan 30 11:15:26 2009 +0000
@@ -510,12 +510,12 @@
     
     get_dict = request.GET
     
-    if 'status' in get_dict.keys():
-      if get_dict['status'] in ['group_accepted', 'rejected', 'ignored']:
+    if 'state' in get_dict.keys():
+      if get_dict['state'] in ['group_accepted', 'rejected', 'ignored']:
         # update the request_entity and redirect away from this page
-        request_state = get_dict['status']
+        request_state = get_dict['state']
         request_logic.logic.updateEntityProperties(request_entity, {
-            'state': get_dict['status']})
+            'state': get_dict['state']})
 
         if request_state == 'group_accepted':
           notifications_helper.sendInviteNotification(request_entity)