Merge branch 'ent-11947-16141-notificacion-access-statistics-performance-permanece-en-la-consola-teniendo-los-tokens' into 'develop'

Ent 11947 16141 notificacion access statistics performance permanece en la consola teniendo los tokens

See merge request artica/pandorafms!6372
This commit is contained in:
Rafael Ameijeiras 2023-09-11 07:17:46 +00:00
commit 8a41aa7f7a
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ class ConsoleSupervisor
$total_agents = db_get_value('count(*)', 'tagente'); $total_agents = db_get_value('count(*)', 'tagente');
if ($total_agents >= 200) { if ($total_agents >= 200) {
if ($config['agentaccess'] !== 0) { if ((int) $config['agentaccess'] !== 0) {
db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']); db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']);
$this->notify( $this->notify(
[ [