#13452 fixed search criteria now accepts spaces in the Search agent field and the Search module field

This commit is contained in:
Jorge Rincon 2024-04-18 10:26:05 +02:00
parent c5e50df98e
commit 1df6778e29
1 changed files with 3 additions and 3 deletions

View File

@ -1929,13 +1929,13 @@ if (check_login()) {
);
}
// Search module name.
if (empty($search) === false) {
$where .= ' AND tagente_modulo.nombre LIKE "%%'.$search.'%%"';
$where .= ' AND tagente_modulo.nombre LIKE "%%'.io_safe_output($search).'%%"';
}
if (empty($search_agent) === false) {
$where .= ' AND tagente.alias LIKE "%%'.$search_agent.'%%"';
$where .= ' AND tagente.alias LIKE "%%'.io_safe_output($search_agent).'%%"';
}
if (str_contains($status, '6') === true) {