mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed missing char
This commit is contained in:
parent
3f7067fe48
commit
08b393614a
@ -536,7 +536,7 @@ if ($search != '') {
|
|||||||
' AND ( nombre
|
' AND ( nombre
|
||||||
LIKE "%%%s%%" OR alias
|
LIKE "%%%s%%" OR alias
|
||||||
LIKE "%%%s%%" OR comentarios LIKE "%%%s%%"
|
LIKE "%%%s%%" OR comentarios LIKE "%%%s%%"
|
||||||
OR EXISTS (SELECT * FROM tagent_custom_data WHERE id_agent = id_agente AND description LIKE "%%%s%%")',
|
OR EXISTS (SELECT * FROM tagent_custom_data WHERE id_agent = id_agente AND description LIKE "%%%s%%"))',
|
||||||
$search,
|
$search,
|
||||||
$search,
|
$search,
|
||||||
$search,
|
$search,
|
||||||
@ -586,9 +586,16 @@ $sql = sprintf(
|
|||||||
$user_groups_to_sql,
|
$user_groups_to_sql,
|
||||||
$search_sql
|
$search_sql
|
||||||
);
|
);
|
||||||
|
hd('INICIO user_groups_to_sql', true);
|
||||||
|
hd($user_groups_to_sql, true);
|
||||||
|
hd('FINAL user_groups_to_sql', true);
|
||||||
|
hd('INICIO search_sql', true);
|
||||||
|
hd($search_sql, true);
|
||||||
|
hd('FINAL search_sql', true);
|
||||||
|
|
||||||
|
hd($sql, true);
|
||||||
$total_agents = db_get_sql($sql);
|
$total_agents = db_get_sql($sql);
|
||||||
|
hd($total_agents, true);
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
'SELECT *
|
'SELECT *
|
||||||
FROM tagente LEFT JOIN tagent_secondary_group tasg
|
FROM tagente LEFT JOIN tagent_secondary_group tasg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user