mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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:
parent
3d453ba3cc
commit
6089492209
@ -225,6 +225,10 @@ $table_simple->data[1][3] = html_print_select_from_sql ('SELECT id_mg, name FROM
|
|||||||
'id_module_group', $id_module_group, '', __('Not assigned'), '0',
|
'id_module_group', $id_module_group, '', __('Not assigned'), '0',
|
||||||
true, false, true, $disabledBecauseInPolicy);
|
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][0] = __('Warning status').' ' . ui_print_help_icon ('warning_status', true);
|
||||||
|
|
||||||
$table_simple->data[2][1] = '';
|
$table_simple->data[2][1] = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user