#13051 hide policies filter in open

This commit is contained in:
Daniel Cebrian 2024-03-14 10:03:08 +01:00
parent 3546c39aef
commit faece59451
1 changed files with 20 additions and 17 deletions

View File

@ -430,7 +430,8 @@ if (function_exists('policies_get_policies') === true) {
}
}
$table->data[2][1] = html_print_label_input_block(
if (enterprise_installed() === true) {
$table->data[2][1] = html_print_label_input_block(
__('Policies'),
html_print_select(
$fields,
@ -446,7 +447,9 @@ $table->data[2][1] = html_print_label_input_block(
false,
'width: 100%'
)
);
);
}
$custom_fields = db_get_all_fields_in_table('tagent_custom_fields');
if ($custom_fields === false) {