mirror of
https://github.com/moodle/moodle.git
synced 2025-06-10 01:56:14 +02: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.
|
// Email user to let them know. Email admin.
|
||||||
|
|
||||||
if ($data->payment_status == "Pending" and $data->pending_reason != "echeck") {
|
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);
|
email_paypal_error_to_admin("Payment pending", $data);
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user