Changeset 2794 for WAeUP_SRP/base


Ignore:
Timestamp:
27 Nov 2007, 12:17:53 (17 years ago)
Author:
joachim
Message:

fixes (in custom)

File:
1 edited

Legend:

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

    r2793 r2794  
    113113    res = aq_results(Eq('student_id',student_id),
    114114                             sortSpecs=('level_id',))
    115     last_level_id = res[-1].level_id
     115    if res:
     116        last_level_id = res[-1].level_id
    116117    for result in res:
    117118        course_id = result.code
Note: See TracChangeset for help on using the changeset viewer.