mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#10259 fixed bug in agentaccess token
This commit is contained in:
parent
aaae7454fa
commit
fecee4895f
@ -152,7 +152,7 @@ if ($update_config == 1 && $config['history_db_enabled'] == 1) {
|
||||
}
|
||||
|
||||
$total_agents = db_get_value('count(*)', 'tagente');
|
||||
$disable_agentaccess = ($total_agents >= 200) ? true : false;
|
||||
$disable_agentaccess = ($total_agents >= 200 && $config['agentaccess'] == 0) ? true : false;
|
||||
|
||||
$table_status = new StdClass();
|
||||
$table_status->width = '100%';
|
||||
|
Loading…
x
Reference in New Issue
Block a user