mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-32176' of git://github.com/timhunt/moodle
This commit is contained in:
commit
9efaab4949
@ -1009,7 +1009,7 @@ abstract class moodleform {
|
||||
|
||||
switch ($option){
|
||||
case 'default' :
|
||||
$mform->setDefault($realelementname, $params);
|
||||
$mform->setDefault($realelementname, str_replace('{no}', $i + 1, $params));
|
||||
break;
|
||||
case 'helpbutton' :
|
||||
$params = array_merge(array($realelementname), $params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user