mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fix count
This commit is contained in:
parent
e5bdceee78
commit
657e7fe7d5
@ -269,7 +269,7 @@ if ($searchAgents) {
|
||||
|
||||
if ($agents !== false) {
|
||||
$totalAgents = db_get_value_sql(
|
||||
'SELECT COUNT(id_agente) AS agent_count '.$sql
|
||||
'SELECT COUNT(DISTINCT id_agente) AS agent_count '.$sql
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user