#11436 Fix total agents

This commit is contained in:
miguel angel rasteu 2023-09-19 17:50:04 +02:00
parent eed7ff8aba
commit 746b9e48d0
1 changed files with 1 additions and 1 deletions

View File

@ -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(