Merge branch 'ent-4881-entities-audit-OUM' into 'develop'

Fixed audit log OUM entities bug

See merge request artica/pandorafms!2902
This commit is contained in:
Daniel Rodriguez 2020-01-07 10:23:39 +01:00
commit 8a6fa4f988
2 changed files with 4 additions and 3 deletions

View File

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

View File

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