]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Always write used providers rulefiles file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 14 Apr 2021 19:12:36 +0000 (21:12 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 3 Aug 2021 17:25:54 +0000 (19:25 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index c8f94474370cd1e9a73f59569339bbcafb344bcf..0674978354cc60534af1be57c76557f7bc2af71f 100644 (file)
@@ -463,11 +463,8 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
                                push(@provider_rulefiles, $rulesfile);
                        }
 
-                       # Check if any rulesfiles have been found for this provider.
-                       if (@provider_rulefiles) {
-                               # Call function and write the providers used rulesfile file.
-                               &IDS::write_used_provider_rulefiles_file($provider, @provider_rulefiles);
-                       }
+                       # Call function and write the providers used rulesfile file.
+                       &IDS::write_used_provider_rulefiles_file($provider, @provider_rulefiles);
                }
        }