Changeset 645 for WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
- Timestamp:
- 10 Oct 2006, 17:55:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r639 r645 23 23 info['is_manager'] = context.isManager 24 24 member_id = str(member) 25 res = context.portal_catalog(portal_type='Student',id=member_id) 25 if student is None: 26 student_id = member_id 27 else: 28 student_id = student.getId() 29 res = context.portal_catalog(portal_type='Student',id=student_id) 26 30 if not res: 27 31 return None
Note: See TracChangeset for help on using the changeset viewer.