Merge branch 'ent-11971-16145-proteccion-en-cascada-de-modulos-no-funciona-cuando-hay-ff' into 'develop'

ent-11971-[#16145] Protección en cascada de módulos no funciona cuando hay FF

See merge request artica/pandorafms!6645
This commit is contained in:
Diego Muñoz-Reja 2023-12-13 08:40:35 +00:00
commit 89ec81e151
1 changed files with 2 additions and 2 deletions

View File

@ -5786,9 +5786,9 @@ sub pandora_inhibit_alerts {
sub pandora_cps_enabled($$) {
my ($agent, $module) = @_;
return 1 if ($agent->{'cps'} > 0);
return 1 if ($agent->{'cps'} >= 0);
return 1 if ($module->{'cps'} > 0);
return 1 if ($module->{'cps'} >= 0);
return 0;
}