app/soc/views/models/host.py
changeset 2667 260aaea36e49
parent 2177 e2c193e1f631
child 2919 cb677410c0f1
--- a/app/soc/views/models/host.py	Thu Jul 23 14:41:53 2009 +0200
+++ b/app/soc/views/models/host.py	Thu Jul 23 14:43:20 2009 +0200
@@ -97,7 +97,7 @@
     super(View, self).__init__(params=params)
 
     # register the role with the group_view
-    self._params['group_view'].registerRole(self._params['module_name'], self)
+    self._params['group_view'].registerRole(self._logic.role_name, self)
 
     # create and store the special form for invited users
     updated_fields = {