X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fids.cgi;h=5ed3ed9f2e626193bc633d063a06da2d2f892954;hp=60e40d7de59733d6b2d5d81e7a8e80b030501d29;hb=5f2145eb59d3f0f7cbc70cd4f071302fd56213ea;hpb=f6eb1a40a00625b7a83984461242e86347e48579 diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 60e40d7de5..5ed3ed9f2e 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -902,8 +902,8 @@ print < END ; - # Check if a ruleset has been downloaded yet. - if (%idsrules) { + # Show the "Update Ruleset"-Button only if a ruleset has been downloaded yet and automatic updates are disabled. + if ((%idsrules) && ($rulessettings{'AUTOUPDATE_INTERVAL'} eq "off")) { # Display button to update the ruleset. print"\n"; }