Fixed accidental search and replace of _booking_person_studygroups_cleanup

This commit is contained in:
2014-11-25 20:11:01 +11:00
parent 9f917de8a5
commit b96deade15
7 changed files with 160 additions and 160 deletions

View File

@@ -68,7 +68,7 @@ function booking_paypal_ipn() {
return;
}
*/
if (_booking_person_studygroups_cleanup($ipn['payment_status']) || ($ipn['payment_status'] != 'Completed' && variable_get('booking_paypal_sandbox', 0) == 0))
if (empty($ipn['payment_status']) || ($ipn['payment_status'] != 'Completed' && variable_get('booking_paypal_sandbox', 0) == 0))
return;
//if (strcasecmp($ipn['receiver_email'], variable_get('booking_paypal_account', '') <> 0))