Merge branch 'ent-12159-16357-cuadro-de-busqueda-no-muestra-agentes-cuando-se-busca-con-un-guion-bajo' into 'develop'

Ent 12159 16357 cuadro de busqueda no muestra agentes cuando se busca con un guion bajo

See merge request artica/pandorafms!6519
This commit is contained in:
Rafael Ameijeiras 2023-11-27 11:58:59 +00:00
commit 074ea7a9c9
1 changed files with 1 additions and 0 deletions

View File

@ -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