From d46bec52993235a8b185a2f040846e9059c3f4e7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 26 Nov 2012 10:55:32 +0100 Subject: [PATCH] calamaris: Fix viewing reports. Fixes that only the last created report could be viewed (#10259). --- config/rootfiles/core/65/filelists/files | 1 + html/cgi-bin/logs.cgi/calamaris.dat | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/core/65/filelists/files b/config/rootfiles/core/65/filelists/files index a2f3ab8dff..f481777940 100644 --- a/config/rootfiles/core/65/filelists/files +++ b/config/rootfiles/core/65/filelists/files @@ -1,5 +1,6 @@ etc/system-release etc/issue +srv/web/ipfire/cgi-bin/logs.cgi/calamaris.dat srv/web/ipfire/cgi-bin/ovpnmain.cgi usr/sbin/ovpn-ccd-convert var/ipfire/general-functions.pl diff --git a/html/cgi-bin/logs.cgi/calamaris.dat b/html/cgi-bin/logs.cgi/calamaris.dat index 19a3693999..4ee60c21d9 100644 --- a/html/cgi-bin/logs.cgi/calamaris.dat +++ b/html/cgi-bin/logs.cgi/calamaris.dat @@ -98,6 +98,7 @@ if ($reportsettings{'ACTION'} eq $Lang::tr{'calamaris create report'}) delete $reportsettings{'DAY_END'}; delete $reportsettings{'MONTH_END'}; delete $reportsettings{'YEAR_END'}; + delete $reportsettings{'REPORT'}; &General::writehash("${General::swroot}/proxy/calamaris/settings", \%reportsettings); @@ -493,12 +494,11 @@ END if (@reports) { print "\n"; -- 2.39.2