]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Use get_ruleset_date() from ids-functions.pl.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 1 Apr 2021 14:02:50 +0000 (16:02 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Dec 2021 12:23:42 +0000 (13:23 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index ec92c0f9673430f6884c79ca690819095a1a820a..b10b8abbe2a338ff5c6722156220521e66631a56 100644 (file)
@@ -1122,9 +1122,7 @@ END
                                # Assign data array positions to some nice variable names.
                                my $provider = $used_providers{$id}[0];
                                my $provider_name = &get_provider_name($provider);
-
-                               #XXX my $rulesdate = &IDS::get_ruleset_date($provider);
-                               my $rulesdate;
+                               my $rulesetdate = &IDS::get_ruleset_date($provider);
 
                                my $subscription_code = $used_providers{$id}[1];
                                my $autoupdate_status = $used_providers{$id}[2];
@@ -1164,7 +1162,7 @@ END
 print <<END;
                                <tr>
                                        <td width='33%' class='base' $col>$provider_name</td>
-                                       <td width='30%' class='base' $col>$rulesdate</td>
+                                       <td width='30%' class='base' $col>$rulesetdate</td>
 
                                        <td align='center' $col>
                                                <form method='post' action='$ENV{'SCRIPT_NAME'}'>