Merge branch 'MDL-52451-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Dan Poltawski 2015-12-14 10:46:29 +00:00
commit 99436d38ff

View File

@ -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');
}