Changeset 2182 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
6 Sep 2007, 14:00:46 (17 years ago)
Author:
joachim
Message:

fix for ticket

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py

    r2168 r2182  
    6464        if object['status'] and 'submitted' in object['status']:
    6565            submitted = True
    66         if not create and (pin != object['pin'] and not context.isSectionOfficer()):
     66        if not (create or slip) and (pin != object['pin'] and not context.isSectionOfficer()):
    6767            logger.info('%s/%s entered wrong pin %s' % (member,reg_no,pin))
    6868            return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.