Changeset 2480 for WAeUP_SRP/base/skins/cps_custom/logged_in.py
- Timestamp:
- 30 Oct 2007, 15:23:25 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/logged_in.py
r2468 r2480 69 69 70 70 student_app = getattr(student,'application',None) 71 71 72 72 ######################################################### 73 73 … … 90 90 p_review_state = wftool.getInfoFor(student_per,'review_state',None) 91 91 logger.info('%s logged in, review_state %s' % (member,s_review_state)) 92 app_doc = student_app.getContent() 92 if student_app is None: 93 logger.info('%s logged in, without application object' % (member)) 94 else: 95 app_doc = student_app.getContent() 93 96 94 97 ######################################################### … … 96 99 # save email and phone of returning students after all objects have been created 97 100 98 if request.has_key('returning') :101 if request.has_key('returning') and student_app: 99 102 email=request.get("email") 100 103 phone=request.get("phone_nr")
Note: See TracChangeset for help on using the changeset viewer.