mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-52451-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
99436d38ff
@ -1249,7 +1249,7 @@ abstract class moodleform {
|
||||
if (is_array($strings)) {
|
||||
foreach ($strings as $string) {
|
||||
if (is_array($string)) {
|
||||
call_user_method_array('string_for_js', $PAGE->requires, $string);
|
||||
call_user_func_array(array($PAGE->requires, 'string_for_js'), $string);
|
||||
} else {
|
||||
$PAGE->requires->string_for_js($string, 'moodle');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user