#11947 Fix notification

This commit is contained in:
miguel angel rasteu 2023-09-06 10:38:09 +02:00
parent df6d0655d1
commit 793c953e07
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,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(