# HG changeset patch # User Brian Neal # Date 1634501274 18000 # Node ID 8ec03abf16c162ab9f53ffc1c78e83b94062d5ac # Parent fbfb1a9c70e238508120133fea6b35f271c30e13 Part of the last commit. :( diff -r fbfb1a9c70e2 -r 8ec03abf16c1 donations/views.py --- a/donations/views.py Sun Oct 17 14:40:53 2021 -0500 +++ b/donations/views.py Sun Oct 17 15:07:54 2021 -0500 @@ -158,7 +158,7 @@ # Is the email address ours? business = params.get('business') - if business != paypal_params()[1]: + if business not in paypal_params()[1]: logging.warning('IPN: invalid business: %s', business) return