Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'w49_MDL-31424_m23_paypalcase' of git://github.com/skoda…

…k/moodle into MOODLE_23_STABLE
  • Loading branch information...
commit 8f647f1d3aefbfbab40a5db096027293ebb6bbf4 2 parents 2e65383 + 408ef58
@danpoltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/paypal/ipn.php
View
2  enrol/paypal/ipn.php
@@ -172,7 +172,7 @@
}
- if ($data->business != $plugin->get_config('paypalbusiness')) { // Check that the email is the one we want it to be
+ if (textlib::strtolower($data->business) !== textlib::strtolower($plugin->get_config('paypalbusiness'))) { // Check that the email is the one we want it to be
message_paypal_error_to_admin("Business email is {$data->business} (not ".
$plugin->get_config('paypalbusiness').")", $data);
die;
Please sign in to comment.
Something went wrong with that request. Please try again.