MDL-51427 user: correctly use strings for phone1 and phone2
Thanks to Olumuyiwa Taiwo for original patch AMOS BEGIN CPY [phone,core],[phone1,core] AMOS END
This commit is contained in:
+1
-1
@@ -430,7 +430,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
|
||||
$mform->addElement('text', 'department', get_string('department'), 'maxlength="255" size="25"');
|
||||
$mform->setType('department', PARAM_TEXT);
|
||||
|
||||
$mform->addElement('text', 'phone1', get_string('phone'), 'maxlength="20" size="25"');
|
||||
$mform->addElement('text', 'phone1', get_string('phone1'), 'maxlength="20" size="25"');
|
||||
$mform->setType('phone1', PARAM_NOTAGS);
|
||||
|
||||
$mform->addElement('text', 'phone2', get_string('phone2'), 'maxlength="20" size="25"');
|
||||
|
||||
Reference in New Issue
Block a user