mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-25 23:05:30 +02:00
Merge branch 'ent-10747-version-open-error-500-en-vista-principal-de-un-agente' into 'develop', JJOS.
Ent 10747 version open error 500 en vista principal de un agente See merge request artica/pandorafms!5616
This commit is contained in:
commit
eb833f2ad8
@ -1481,12 +1481,13 @@ if ($policyTab === ENTERPRISE_NOT_HOOK) {
|
|||||||
|
|
||||||
|
|
||||||
// Omnishell.
|
// Omnishell.
|
||||||
$tasks = count_tasks_agent($id_agente);
|
if (function_exists('count_tasks_agent')) {
|
||||||
|
$tasks = count_tasks_agent($id_agente);
|
||||||
if ($tasks === true) {
|
if ($tasks === true) {
|
||||||
$omnishellTab = enterprise_hook('omnishell_tab');
|
$omnishellTab = enterprise_hook('omnishell_tab');
|
||||||
if ($omnishellTab == -1) {
|
if ($omnishellTab == -1) {
|
||||||
$omnishellTab = '';
|
$omnishellTab = '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user