diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index 8a392f1306..58891a3004 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -430,23 +430,26 @@ if (function_exists('policies_get_policies') === true) { } } -$table->data[2][1] = html_print_label_input_block( - __('Policies'), - html_print_select( - $fields, - 'policies', - $policies, - 'this.form.submit()', - __('All'), - 0, - true, - false, - true, - 'w100p', - false, - 'width: 100%' - ) -); +if (enterprise_installed() === true) { + $table->data[2][1] = html_print_label_input_block( + __('Policies'), + html_print_select( + $fields, + 'policies', + $policies, + 'this.form.submit()', + __('All'), + 0, + true, + false, + true, + 'w100p', + false, + 'width: 100%' + ) + ); +} + $custom_fields = db_get_all_fields_in_table('tagent_custom_fields'); if ($custom_fields === false) {