mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-22788 fixed course name multilang issue in PayPal plugin
This commit is contained in:
parent
2c3e42fdd9
commit
32d661354b
@ -174,7 +174,7 @@ class enrol_paypal_plugin extends enrol_plugin {
|
||||
echo '</div>';
|
||||
} else {
|
||||
//Sanitise some fields before building the PayPal form
|
||||
$coursefullname = $course->fullname;
|
||||
$coursefullname = format_string($course->fullname, true, array('context'=>$context));
|
||||
$courseshortname = $course->shortname;
|
||||
$userfullname = fullname($USER);
|
||||
$userfirstname = $USER->firstname;
|
||||
|
Loading…
x
Reference in New Issue
Block a user