Verified Commit 829032cb authored by Damien's avatar Damien

[REFACTORING] count 1 users display up

parent 23928497
......@@ -183,7 +183,7 @@ function display_up($user_id)
$where = " ((status = 'OK' or status = 'ABS') and users.user_id != 'superadmin') and ((users_entities.entity_id is NULL) or users_entities.entity_id in (".join(',', $my_tab_entities_id)."))";
$orderstr = "order by user_id asc";
$rawCount = $db->query("select count(*) from users", []);
$rawCount = $db->query("select count(1) from users", []);
$count = $rawCount->fetchObject();
$limit = 'default';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment