Index: WAeUP_SRP/trunk/skins/waeup_utilities/changeRegState.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_utilities/changeRegState.py	(revision 3781)
+++ WAeUP_SRP/trunk/skins/waeup_utilities/changeRegState.py	(revision 3795)
@@ -29,13 +29,14 @@
 
 request = context.REQUEST
-students = context.portal_url.getPortalObject().campus.students
+#students = context.portal_url.getPortalObject().campus.students
 wftool = context.portal_workflow
 student_id = context.getStudentId()
+context_doc = context
 if student_id is None:
     return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
-
-student = getattr(students,student_id)
+#student = getattr(students,student_id)
+#context_doc = student
 try:
-    wftool.doActionFor(student,transition)
+    wftool.doActionFor(context_doc,transition)
     logger.info('%s executed transition %s for %s' % (member,transition,student_id))
 except:
