fixed styles
This commit is contained in:
parent
98f812b757
commit
0461881420
|
@ -640,7 +640,6 @@ if ($update_user) {
|
|||
}
|
||||
|
||||
$values = [];
|
||||
$values['id_user'] = (string) get_parameter('id_user');
|
||||
$values['fullname'] = (string) get_parameter('fullname');
|
||||
$values['firstname'] = (string) get_parameter('firstname');
|
||||
$values['lastname'] = (string) get_parameter('lastname');
|
||||
|
@ -658,7 +657,7 @@ if ($update_user) {
|
|||
$values['time_autorefresh'] = (int) get_parameter('time_autorefresh');
|
||||
// API Token information.
|
||||
$apiTokenRenewed = (bool) get_parameter('renewAPIToken');
|
||||
$values['api_token'] = ($apiTokenRenewed === true) ? api_token_generate() : users_get_API_token($values['id_user']);
|
||||
$values['api_token'] = ($apiTokenRenewed === true) ? api_token_generate() : users_get_API_token($id);
|
||||
|
||||
if (users_is_admin() === false && (bool) $values['is_admin'] !== false) {
|
||||
db_pandora_audit(
|
||||
|
@ -806,7 +805,7 @@ if ($update_user) {
|
|||
$has_skin = false;
|
||||
$has_wizard = false;
|
||||
|
||||
$info = '{"id_user":"'.$values['id_user'].'",
|
||||
$info = '{"id_user":"'.$id.'",
|
||||
"FullName":"'.$values['fullname'].'",
|
||||
"Firstname":"'.$values['firstname'].'",
|
||||
"Lastname":"'.$values['lastname'].'",
|
||||
|
|
|
@ -157,7 +157,7 @@ if ($new_user === true) {
|
|||
true
|
||||
);
|
||||
} else {
|
||||
// TODO. Show the user id with a label.
|
||||
$userManagementTable->data['fields_iduser'][0] = html_print_input_hidden('id', $id, false, false, false, 'id');
|
||||
}
|
||||
|
||||
// User Full name.
|
||||
|
|
Loading…
Reference in New Issue