Ignore:
Timestamp:
31 Jan 2014, 10:51:37 (11 years ago)
Author:
Henrik Bettermann
Message:

Catch traceback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/dynamicroles.py

    r10639 r11018  
    7979                    # Found a Course Adviser role in external attribute or parent
    8080                    # thereof. We need a special treatment for Course Advisers.
    81                     if str(100*(current_level/100)) in role_id:
     81                    if current_level and str(100*(current_level/100)) in role_id:
    8282                        # Grant additional role, which allows to validate or reject
    8383                        # course lists, only if external role corresponds
Note: See TracChangeset for help on using the changeset viewer.