mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Fixed a mis-usage (typo?) of get_admin() in paypal module. (Merged from MOODLE_15_STABLE)
This commit is contained in:
parent
8317e82773
commit
c0ee465b4c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user