#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…
Reference in New Issue