Fixed filter by name of agents in events when they contain spaces

Former-commit-id: 93557e0ef296d1683acd86cb70ce2da6677e3e6c
This commit is contained in:
samucarc 2019-02-01 12:38:31 +01:00
parent d6667354fc
commit c5805e439e
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ if ($meta) {
$id_agent = get_parameter('id_agent',0);
if($id_agent){
$sql_post .= " AND agent_name IN (SELECT nombre FROM tmetaconsole_agent WHERE
id_tagente =".$id_agent." AND alias LIKE '".io_safe_input($text_agent)."')";
id_tagente =".$id_agent." AND alias LIKE '".$text_agent."')";
$filter_resume['agent'] = $text_agent;
}
}