Merge branch 'ent-10792-en-version-open-la-vista-tactica-de-grupo-devuelve-error-500-al-solicitar-grupo-all' into 'develop'
Ent 10792 en version open la vista tactica de grupo devuelve error 500 al solicitar grupo all See merge request artica/pandorafms!5624
This commit is contained in:
commit
f931a86f22
|
@ -375,11 +375,13 @@ $table->data[1][0] = html_print_label_input_block(
|
|||
html_print_select($fields, 'os', $os, '', 'All', 0, true)
|
||||
);
|
||||
|
||||
if (function_exists('policies_get_policies') === true) {
|
||||
$pre_fields = policies_get_policies(false, ['id', 'name']);
|
||||
$fields = [];
|
||||
foreach ($pre_fields as $value) {
|
||||
$fields[$value['id']] = $value['name'];
|
||||
}
|
||||
}
|
||||
|
||||
$table->data[1][1] = html_print_label_input_block(
|
||||
__('Policies'),
|
||||
|
|
Loading…
Reference in New Issue