Ignore:
Timestamp:
30 Oct 2007, 15:23:25 (17 years ago)
Author:
joachim
Message:

check for existing app_doc, avoid accessviolation in getPaymentsFolderInfo (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/getPaymentsFolderInfo.py

    r2466 r2480  
    5252info['query_url'] = "https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx"
    5353review_state = info['review_state'] = s_brain.review_state
    54 parttime = s_brain.mode.endswith('_pt')
    55 fulltime = s_brain.mode.endswith('_ft')
     54parttime = s_brain.mode and s_brain.mode.endswith('_pt')
     55fulltime = s_brain.mode and s_brain.mode.endswith('_ft')
    5656
    5757#if review_state == 'cleared_and_validated' or (parttime and review_state == 'returning'):
Note: See TracChangeset for help on using the changeset viewer.