mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#9362 Change sql for count modules from tagente_datos
This commit is contained in:
parent
6f2b50af56
commit
bc6893b83e
@ -1277,7 +1277,7 @@ class Diagnostics extends Wizard
|
|||||||
);
|
);
|
||||||
|
|
||||||
$modulesDataCount = db_get_value_sql(
|
$modulesDataCount = db_get_value_sql(
|
||||||
'SELECT COUNT(*) * 300 as total FROM tmodule_inventory'
|
'SELECT count(*) * 300 FROM (SELECT * FROM tagente_datos GROUP BY id_agente_modulo) AS totalmodules'
|
||||||
);
|
);
|
||||||
$modulesDataCount = ($modulesDataCount >= 500000) ? $modulesDataCount : 500000;
|
$modulesDataCount = ($modulesDataCount >= 500000) ? $modulesDataCount : 500000;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user