app/soc/views/models/role.py
changeset 964 63005fcf12df
parent 963 24c0a9da6360
child 970 8b5611d5b053
--- a/app/soc/views/models/role.py	Sat Jan 24 17:07:26 2009 +0000
+++ b/app/soc/views/models/role.py	Sat Jan 24 17:09:02 2009 +0000
@@ -378,7 +378,7 @@
     # set right fields for the request form
     user_entity = user_logic.logic.getForCurrentAccount()
     fields = {'link_id' : user_entity.link_id,
-              'role' : '%(module_name)s' %(params),
+              'role' : params['module_name'],
               'group_id' : kwargs['scope_path']}
 
     # get the request view parameters and initialize the create form