Fixed audit log
Former-commit-id: a78fb3fb377814a6e664fd66606cd293c8af5df3
This commit is contained in:
parent
5fd4cd346a
commit
8088a51035
|
@ -175,7 +175,7 @@ if ($id_profile || $new_profile) {
|
|||
$vconsole_management = (bool) $profile["vconsole_management"];
|
||||
|
||||
$id_audit = db_pandora_audit("User management",
|
||||
"Edit profile ". io_safe_output($name));
|
||||
"Edit profile ". $name);
|
||||
enterprise_include_once('include/functions_audit.php');
|
||||
|
||||
$info = 'Name: ' . $name .
|
||||
|
|
|
@ -74,7 +74,7 @@ if ($delete_profile) {
|
|||
}
|
||||
else {
|
||||
db_pandora_audit("Profile management",
|
||||
"Delete profile ". io_safe_output($profile['name']));
|
||||
"Delete profile ". $profile['name']);
|
||||
ui_print_success_message(__('Successfully deleted'));
|
||||
}
|
||||
|
||||
|
@ -187,7 +187,7 @@ if ($update_profile) {
|
|||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Update profile ".io_safe_output($name), false, false, $info);
|
||||
"Update profile ". $name, false, false, $info);
|
||||
|
||||
ui_print_success_message(__('Successfully updated'));
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ if ($create_profile) {
|
|||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Created profile ". io_safe_output($name), false, false, $info);
|
||||
"Created profile ". $name, false, false, $info);
|
||||
}
|
||||
else {
|
||||
ui_print_error_message(__('There was a problem creating this profile'));
|
||||
|
|
Loading…
Reference in New Issue