Use form element with html_filter when adding user

pull/4909/head
Angel Fernando Quiroz Campos 2 years ago
parent 841a07396f
commit e0bd0978b2
  1. 2
      main/admin/user_add.php

@ -162,7 +162,7 @@ if (api_get_setting('login_is_email') == 'true') {
} }
// Phone // Phone
$form->addElement('text', 'phone', get_lang('PhoneNumber'), ['autocomplete' => 'off', 'id' => 'phone']); $form->addText('phone', get_lang('PhoneNumber'), false, ['autocomplete' => 'off', 'id' => 'phone']);
// Picture // Picture
$form->addFile( $form->addFile(
'picture', 'picture',

Loading…
Cancel
Save