#11965 fixed bug in opensource

This commit is contained in:
Daniel Cebrian 2023-09-13 13:12:23 +02:00
parent 1cd5d1b0fa
commit db20db8244

View File

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