mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Edit user fix
This commit is contained in:
parent
e42c4575d5
commit
21a4a4ced8
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
// Load global vars.
|
// Load global vars.
|
||||||
global $config;
|
global $config;
|
||||||
|
hd($_REQUEST, true);
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
require_once $config['homedir'].'/vendor/autoload.php';
|
require_once $config['homedir'].'/vendor/autoload.php';
|
||||||
@ -1836,7 +1836,6 @@ if (is_metaconsole() === true) {
|
|||||||
include_once 'user_management.php';
|
include_once 'user_management.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</div>';
|
|
||||||
|
|
||||||
if ((bool) $config['admin_can_add_user'] === true) {
|
if ((bool) $config['admin_can_add_user'] === true) {
|
||||||
html_print_csrf_hidden();
|
html_print_csrf_hidden();
|
||||||
@ -1848,6 +1847,8 @@ if ($new_user === true) {
|
|||||||
html_print_input_hidden('json_profile', $json_profile);
|
html_print_input_hidden('json_profile', $json_profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
@ -117,9 +117,7 @@ function profile_create_user_profile(
|
|||||||
'assigned_by' => $assign,
|
'assigned_by' => $assign,
|
||||||
'no_hierarchy' => $no_hierarchy ? 1 : 0,
|
'no_hierarchy' => $no_hierarchy ? 1 : 0,
|
||||||
];
|
];
|
||||||
hd('inicio insert', true);
|
|
||||||
hd($insert, true);
|
|
||||||
hd('final insert', true);
|
|
||||||
return db_process_sql_insert('tusuario_perfil', $insert);
|
return db_process_sql_insert('tusuario_perfil', $insert);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user