Changeset 7023


Ignore:
Timestamp:
7 Nov 2011, 17:42:23 (13 years ago)
Author:
Henrik Bettermann
Message:

Uups, the if statement was wrong. We need more tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r7019 r7023  
    11581158            self.redirect(self.url(self.context))
    11591159            return
    1160         if str(student['studycourse'].entry_session) in self.context.keys():
     1160        if str(grok.getSite()[
     1161                'configuration'].accommodation_session) in self.context.keys():
    11611162            self.flash('You already booked a bed space for the current accommodation session.')
    11621163            self.redirect(self.url(self.context))
Note: See TracChangeset for help on using the changeset viewer.