Merge branch 'ent-4293-bug-keepcounter-policies' into 'develop'

Fixed module update bug

See merge request artica/pandorafms!2769
This commit is contained in:
Daniel Rodriguez 2019-10-08 14:30:49 +02:00
commit 0b14cb64b6
1 changed files with 2 additions and 2 deletions

View File

@ -1382,8 +1382,8 @@ if ($update_module || $create_module) {
$ff_event_normal = (int) get_parameter('ff_event_normal');
$ff_event_warning = (int) get_parameter('ff_event_warning');
$ff_event_critical = (int) get_parameter('ff_event_critical');
$ff_type = (int) get_parameter('ff_type');
$each_ff = (int) get_parameter('each_ff');
$ff_type = (int) get_parameter('ff_type', $module['ff_type']);
$each_ff = (int) get_parameter('each_ff', $module['each_ff']);
$ff_timeout = (int) get_parameter('ff_timeout');
$unit = (string) get_parameter('unit');
$id_tag = (array) get_parameter('id_tag_selected');