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

This commit is contained in:
patrickslee 2005-10-27 02:20:59 +00:00
parent 8317e82773
commit c0ee465b4c

View File

@ -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;
}