Merge branch 'ent-8266-Error-sql-en-vista-de-agentes-de-una-política-en-metaconsola' into 'develop'
Ent 8266 error sql en vista de agentes de una política en metaconsola See merge request artica/pandorafms!4532
This commit is contained in:
commit
5782193a38
|
@ -1181,6 +1181,10 @@ function agents_get_group_agents(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($search['all_agents'])) {
|
||||||
|
unset($search['all_agents']);
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($search['string']) === true) {
|
if (isset($search['string']) === true) {
|
||||||
$string = io_safe_input($search['string']);
|
$string = io_safe_input($search['string']);
|
||||||
$filter[] = "(nombre COLLATE utf8_general_ci LIKE '%$string%' OR direccion LIKE '%$string%')";
|
$filter[] = "(nombre COLLATE utf8_general_ci LIKE '%$string%' OR direccion LIKE '%$string%')";
|
||||||
|
|
Loading…
Reference in New Issue