mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
#11436 Fix total agents
This commit is contained in:
parent
eed7ff8aba
commit
746b9e48d0
@ -716,7 +716,7 @@ class ConsoleSupervisor
|
||||
|
||||
$total_agents = db_get_value('count(*)', 'tagente');
|
||||
|
||||
if ($total_agents >= 1) {
|
||||
if ($total_agents >= 200) {
|
||||
if ((int) $config['agentaccess'] !== 0) {
|
||||
db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']);
|
||||
$this->notify(
|
||||
|
Loading…
x
Reference in New Issue
Block a user