]> 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>
Tue, 3 Aug 2021 17:25:49 +0000 (19:25 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index e172dc7bce08420681a79103342ee56163f34877..21ddf747c9d7c22a039f38e7a7435dbf64ea84a3 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'}'>