Merge branch 'ent-12368-fallo-funcionamiento-module_absoluteinterval-xd' into 'develop'

Reset absoluteinterval when parsing a new module.

Closes pandora_enterprise#12368

See merge request artica/pandorafms!6614
This commit is contained in:
Rafael Ameijeiras 2023-10-31 15:01:02 +00:00
commit 07c8dc1cb6
1 changed files with 2 additions and 1 deletions

View File

@ -4089,7 +4089,7 @@ sub grep_logs {
return @data;
}
sub create_log($$){
sub create_log {
my ($module_name, @data) = @_;
# No data
@ -4282,6 +4282,7 @@ sub init_module ($) {
$module->{'macros'} = {};
$module->{'alert_template'} = undef;
$module->{'filter'} = undef;
$module->{'absoluteinterval'} = undef;
}
################################################################################