From 4d345ab74d3bbc9d3d21db29dc49fdf90727d912 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Mon, 2 Oct 2023 12:00:13 +0200 Subject: [PATCH] #12159 Fix search agent width _ --- pandora_console/operation/search_agents.getdata.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/operation/search_agents.getdata.php b/pandora_console/operation/search_agents.getdata.php index bdeea391a1..d8182385b2 100644 --- a/pandora_console/operation/search_agents.getdata.php +++ b/pandora_console/operation/search_agents.getdata.php @@ -72,6 +72,7 @@ if ($searchAgents) { $has_secondary = enterprise_hook('agents_is_using_secondary_groups'); $stringSearchSQL = str_replace('&', '&', $stringSearchSQL); + $stringSearchSQL = str_replace('\', '\\', $stringSearchSQL); $sql = "SELECT DISTINCT taddress_agent.id_agent FROM taddress INNER JOIN taddress_agent ON taddress.id_a = taddress_agent.id_a