Changeset 1228 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
7 Jan 2007, 17:11:03 (18 years ago)
Author:
joachim
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1215 r1228  
    3737        students = context.portal_url.getPortalObject().campus.students
    3838        student = getattr(students,str(member))
    39         if request.has_key('returning'):
     39        student_app = getattr(student,'application',None)
     40        if request.has_key('returning') and student_app is None:
    4041            email=request.get("email")
    4142            phone=request.get("phone_nr")
     
    4950            d['phone'] = phone
    5051            context.students_catalog.modifyRecord(**d)
    51         student_app = getattr(student,'application',None)
    5252        if student_app is None:
    5353            context.waeup_tool.makeStudentData(str(member))
Note: See TracChangeset for help on using the changeset viewer.