Merge branch 'ent-9662-second-round' of brutus.artica.es:artica/pandorafms into ent-9662-second-round

This commit is contained in:
Pablo Aragon 2023-04-10 14:16:19 +02:00
commit 71d97593ed
1 changed files with 1 additions and 2 deletions

View File

@ -1475,9 +1475,8 @@ if ($policyTab === ENTERPRISE_NOT_HOOK) {
$policyTab = '';
}
// Omnishell.
$tasks = count_tasks_agent($id_agente);
$tasks = enterprise_hook('count_tasks_agent', [$id_agente]);
if ($tasks === true) {
$omnishellTab = enterprise_hook('omnishell_tab');