Ignore:
Timestamp:
1 Jul 2015, 20:22:03 (9 years ago)
Author:
Henrik Bettermann
Message:

Change misleading attribute name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r13076 r13129  
    556556    @property
    557557    def target_url(self):
    558         PWCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES
    559         if self.context.state not in PWCHANGE_STATES:
     558        PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES
     559        if self.context.state not in PORTRAIT_CHANGE_STATES:
    560560            return ''
    561561        return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.