Now the group of a module belonging to a policy does not go away by making some modification in the module. Ticket#2554

This commit is contained in:
Arturo Gonzalez Diaz 2015-07-29 13:34:51 +02:00
parent 4c52129186
commit fd2eb27de8
1 changed files with 6 additions and 0 deletions

View File

@ -220,11 +220,17 @@ else {
$table_simple->data[1][1] .= html_print_input_hidden('type_names',base64_encode(io_json_mb_encode($type_names_hash)),true);
}
$table_simple->data[1][2] = __('Module group');
$table_simple->data[1][3] = html_print_select_from_sql ('SELECT id_mg, name FROM tmodule_group ORDER BY name',
'id_module_group', $id_module_group, '', __('Not assigned'), '0',
true, false, true, $disabledBecauseInPolicy);
if($disabledBecauseInPolicy){
$table_simple->data[1][3] .= html_print_input_hidden ('id_module_group', $id_module_group, true);
}
$table_simple->data[2][0] = __('Warning status').' ' . ui_print_help_icon ('warning_status', true);
$table_simple->data[2][1] = '';