Ignore:
Timestamp:
26 Apr 2020, 06:55:05 (5 years ago)
Author:
Henrik Bettermann
Message:

Fix typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r16072 r16073  
    11241124        course1 = form.get('custom.course1', None)
    11251125        course2 = form.get('custom.course2', None)
     1126        cat = queryUtility(ICatalog, name='certificates_catalog')
    11261127        if course1:
    1127             cat = queryUtility(ICatalog, name='certificates_catalog')
    11281128            results = list(
    11291129                cat.searchResults(code=(course1, course1)))
     
    11311131            changed_fields.append('course1')
    11321132        if course2:
    1133             cat = queryUtility(ICatalog, name='certificates_catalog')
    11341133            results = list(
    11351134                cat.searchResults(code=(course2, course2)))
    11361135            self.context.course2 = results[0]
    1137             changed_fields.append('course1')
     1136            changed_fields.append('course2')
    11381137        if password:
    11391138            # Now we know that the form has no errors and can set password ...
Note: See TracChangeset for help on using the changeset viewer.