Fixed audit log OUM entities bug

This commit is contained in:
Luis Calvo 2019-11-20 18:27:21 +01:00
parent 2469b65192
commit d222553aba
2 changed files with 4 additions and 3 deletions

View File

@ -266,9 +266,10 @@ if ($install_package) {
[$version] [$version]
); );
$product_name = io_safe_output(get_product_name());
db_pandora_audit( db_pandora_audit(
'Update '.get_product_name(), 'Update '.$product_name,
"Update version: $version of ".get_product_name().' by '.$config['id_user'] "Update version: $version of ".$product_name.' by '.$config['id_user']
); );
$return['status'] = 'success'; $return['status'] = 'success';

View File

@ -1166,7 +1166,7 @@ function update_manager_install_package_step2()
} }
update_manager_enterprise_set_version($version); update_manager_enterprise_set_version($version);
$product_name = get_product_name(); $product_name = io_safe_output(get_product_name());
// Generate audit entry. // Generate audit entry.
db_pandora_audit( db_pandora_audit(