Permalink
Browse files

Fixed a mis-usage (typo?) of get_admin() in paypal module

  • Loading branch information...
1 parent 88fb90e commit e89b542b1b67637e51a952b8d611339f31de015f patrickslee committed Oct 27, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/paypal/ipn.php
View
@@ -91,7 +91,7 @@
// Email user to let them know. Email admin.
if ($data->payment_status == "Pending" and $data->pending_reason != "echeck") {
- email_to_user($user, getadmin(), "Moodle: Paypal payment", "Your Paypal payment is pending.");
+ email_to_user($user, get_admin(), "Moodle: Paypal payment", "Your Paypal payment is pending.");
email_paypal_error_to_admin("Payment pending", $data);
die;
}

0 comments on commit e89b542

Please sign in to comment.