Skip to content

Commit e0bd097

Browse files
committed
Use form element with html_filter when adding user
1 parent 841a073 commit e0bd097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/admin/user_add.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function setExpirationDatePicker(status) {
162162
}
163163

164164
// Phone
165-
$form->addElement('text', 'phone', get_lang('PhoneNumber'), ['autocomplete' => 'off', 'id' => 'phone']);
165+
$form->addText('phone', get_lang('PhoneNumber'), false, ['autocomplete' => 'off', 'id' => 'phone']);
166166
// Picture
167167
$form->addFile(
168168
'picture',

0 commit comments

Comments
 (0)