Fixed Audit log in profiles, collections and policies
This commit is contained in:
parent
f340a3dda0
commit
57c411e3fa
|
@ -175,7 +175,7 @@ if ($id_profile || $new_profile) {
|
|||
$vconsole_management = (bool) $profile["vconsole_management"];
|
||||
|
||||
$id_audit = db_pandora_audit("User management",
|
||||
"Edit profile ". $name);
|
||||
"Edit profile ". io_safe_output($name));
|
||||
enterprise_include_once('include/functions_audit.php');
|
||||
|
||||
$info = 'Name: ' . $name .
|
||||
|
|
|
@ -89,7 +89,7 @@ if ($delete_profile) {
|
|||
}
|
||||
else {
|
||||
db_pandora_audit("Profile management",
|
||||
"Delete profile ". $profile['name']);
|
||||
"Delete profile ". io_safe_output($profile['name']));
|
||||
|
||||
ui_print_success_message(__('Successfully deleted'));
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ if ($update_profile) {
|
|||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Update profile ". $name, false, false, $info);
|
||||
"Update profile ".io_safe_output($name), false, false, $info);
|
||||
|
||||
ui_print_success_message(__('Successfully updated'));
|
||||
}
|
||||
|
@ -255,7 +255,7 @@ if ($create_profile) {
|
|||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Created profile ". $name, false, false, $info);
|
||||
"Created profile ". io_safe_output($name), false, false, $info);
|
||||
}
|
||||
else {
|
||||
ui_print_error_message(__('There was a problem creating this profile'));
|
||||
|
|
Loading…
Reference in New Issue