Fixed two bugs introduced in r2160.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 03 Mar 2009 21:04:50 +0000
changeset 1605 df05cd289b2f
parent 1604 297444daac68
child 1606 6f7e5a566d9a
Fixed two bugs introduced in r2160. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/organization.py
--- a/app/soc/views/models/organization.py	Tue Mar 03 20:03:16 2009 +0000
+++ b/app/soc/views/models/organization.py	Tue Mar 03 21:04:50 2009 +0000
@@ -80,8 +80,8 @@
     rights['applicant'] = [('checkIsApplicationAccepted',
                             org_app_logic.logic)]
     rights['list_proposals'] = [('checkHasAny', [
-        [('checkHasActiveRoleForKeyFieldsAsScope', org_admin_logic.logic),
-         ('checkHasActiveRoleForKeyFieldsAsScope', mentor_logic.logic)]
+        [('checkHasActiveRoleForKeyFieldsAsScope', [org_admin_logic.logic]),
+         ('checkHasActiveRoleForKeyFieldsAsScope', [mentor_logic.logic])]
         ])]
 
     new_params = {}
@@ -215,6 +215,8 @@
     except out_of_band.Error:
       is_host = False
 
+    new_params = {}
+
     if is_host:
       new_params['list_action'] = (redirects.getAdminRedirect, params)
     else: