Permalink
Browse files

Fixed a mis-usage (typo?) of get_admin() in paypal module. (Merged fr…

…om MOODLE_15_STABLE)
  • Loading branch information...
1 parent 8317e82 commit c0ee465b4c70f2b616350e4a22663ae6e060a14c patrickslee committed Oct 27, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/paypal/ipn.php
@@ -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 c0ee465

Please sign in to comment.