mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-52843-master-paramsignup' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
81be5d3456
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class login_signup_form extends moodleform {
|
|||
$namefields = useredit_get_required_name_fields();
|
||||
foreach ($namefields as $field) {
|
||||
$mform->addElement('text', $field, get_string($field), 'maxlength="100" size="30"');
|
||||
$mform->setType($field, PARAM_TEXT);
|
||||
$mform->setType($field, PARAM_NOTAGS);
|
||||
$stringid = 'missing' . $field;
|
||||
if (!get_string_manager()->string_exists($stringid, 'moodle')) {
|
||||
$stringid = 'required';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue