#11807 fixed bug in open

This commit is contained in:
Daniel Cebrian 2023-09-13 13:53:53 +02:00
parent 8d0213f841
commit 8ecb57a498
1 changed files with 10 additions and 5 deletions

View File

@ -200,12 +200,16 @@ $text_agent_module = '';
$only_data = false;
$categories_security_hardening = categories_of_cis();
foreach ($categories_security_hardening as $key => $cat) {
$categories_security_hardening[$key] = implode(' ', $cat);
if (enterprise_installed() === true) {
$categories_security_hardening = categories_of_cis();
foreach ($categories_security_hardening as $key => $cat) {
$categories_security_hardening[$key] = implode(' ', $cat);
}
} else {
$categories_security_hardening = [];
}
// Users.
$id_users = [];
$users_groups = [];
@ -3801,7 +3805,7 @@ $class = 'databox filters';
?>
</td>
</tr>
<?php if (enterprise_installed() === true) : ?>
<tr id="row_cat_security_hardening" class="datos">
<td class="bolder">
<?php
@ -3818,6 +3822,7 @@ $class = 'databox filters';
?>
</td>
</tr>
<?php endif; ?>
<tr id="row_status_check" class="datos">
<td class="bolder">