#10219 added db_escape_string_sql for control quotes

This commit is contained in:
Daniel Cebrian 2023-01-26 16:34:35 +01:00
parent 9282aa2319
commit c2a16eb311
1 changed files with 1 additions and 1 deletions

View File

@ -1994,7 +1994,7 @@ if ($create_module) {
$agent = db_get_row('tagente', 'id_agente', $id_agente);
db_pandora_audit(
AUDIT_LOG_AGENT_MANAGEMENT,
"Added module '".$name."' for agent ".io_safe_output($agent['alias']),
"Added module '".db_escape_string_sql($name)."' for agent ".io_safe_output($agent['alias']),
false,
true,
io_json_mb_encode($values)