Changeset 3100


Ignore:
Timestamp:
4 Feb 2008, 11:10:28 (17 years ago)
Author:
joachim
Message:

fix #457 traceback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/getMemberInfo.py

    r2885 r3100  
    3838student = getattr(students_object, student_id)
    3939
    40 if hasattr(student,"application"):
    41 
     40if hasattr(student,"application") and hasattr(student,"personal") and hasattr(student,"clearance"):
    4241    info['student'] = student
    4342    info['id'] = student_id
    4443    info['review_state'] = context.getStudentReviewState()
    45     info['per'] = student.personal
     44    info['per'] = getattr(student,'personal',None)
    4645    info['app'] = student.application
    4746    info['per_doc'] = student.personal.getContent()
Note: See TracChangeset for help on using the changeset viewer.