mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue