errata fix

This commit is contained in:
fbsanchez 2022-02-04 13:33:46 +01:00
parent e1776d7994
commit 48ca83aa76
1 changed files with 7 additions and 0 deletions

View File

@ -567,6 +567,13 @@ if ($search != '') {
}
}
if (!empty($search_custom)) {
$search_sql_custom = " AND EXISTS (SELECT * FROM tagent_custom_data
WHERE id_agent = id_agente AND description LIKE '%$search_custom%')";
} else {
$search_sql_custom = '';
}
// Show only selected groups.
if ($group_id > 0) {
$groups = [$group_id];