Ignore:
Timestamp:
7 Nov 2015, 22:02:34 (9 years ago)
Author:
Henrik Bettermann
Message:

Use correct p_session value from payment ticket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r13407 r13408  
    137137
    138138        student = self.student
    139         current_session = student['studycourse'].current_session
     139        p_session = self.context.p_session
    140140        try:
    141             academic_session = grok.getSite()[
    142                 'configuration'][str(current_session)]
     141            academic_session = grok.getSite()['configuration'][str(p_session)]
    143142        except KeyError:
    144143            self.flash(_(u'Session configuration object is not available.'),
Note: See TracChangeset for help on using the changeset viewer.