Changeset 2655


Ignore:
Timestamp:
14 Nov 2007, 20:42:48 (17 years ago)
Author:
Henrik Bettermann
Message:

fix for 'Unauthorized: The container has no security assertions. Access to 'isdigit' of Missing.Value denied.'

File:
1 edited

Legend:

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

    r2650 r2655  
    88if student_id:
    99    end_level = context.students_catalog(id = student_id)[0].end_level
    10     if end_level.isdigit():
     10    if end_level and end_level.isdigit():
    1111        end_level = int(end_level)
    12    
     12
    1313if key is None:
    1414    levels = [l for l in range(100,end_level+200,10)
     
    2828    return voc
    2929
    30 if key.isdigit():
     30if key and key.isdigit():
    3131    ikey = int(key)
    3232else:
Note: See TracChangeset for help on using the changeset viewer.