Changeset 1207 for WAeUP_SRP/trunk


Ignore:
Timestamp:
5 Jan 2007, 18:26:15 (18 years ago)
Author:
joachim
Message:

fix (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/set_access_data.py

    r1202 r1207  
    1 ##parameters=REQUEST,matric_no
     1##parameters=REQUEST,matric_no=None
    22# $Id$
    33"""
     
    1111validate = REQUEST.has_key("cpsdocument_edit_button")
    1212
     13if matric_no is None:
     14    logger.info('"No Matricel Nr"')
     15    return REQUEST.RESPONSE.redirect("%s" % context.portal_url())
    1316lt = context.portal_layouts
    1417#pr = context.portal_registration
     
    4346    psm = "You did not check the ackkowledge box!"
    4447else:
     48    password = REQUEST.get('widget__password')
    4549    try:
    46         password = REQUEST.get('widget__password')
    4750        context.waeup_tool.makeStudentMember(sid,password=password)
    4851        psm = ''
Note: See TracChangeset for help on using the changeset viewer.