vpn-stats: Show daily graph as *all* other graphs do, too

This commit is contained in:
Michael Tremer
2015-04-13 10:57:09 +02:00
parent 9aeac09636
commit 5c5b4000b9
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ if ( $querry[0] ne "" && $querry[0] ne "UNDEF"){
if(@vpns){
foreach (@vpns) {
&Header::openbox('100%', 'center', "$_ $Lang::tr{'graph'}");
&Graphs::makegraphbox("netovpnrw.cgi",$_,"week");
&Graphs::makegraphbox("netovpnrw.cgi",$_, "day");
&Header::closebox();
}
}else{

View File

@@ -59,7 +59,7 @@ if ( $querry[0] ne ""){
if (@vpns){
foreach (@vpns) {
&Header::openbox('100%', 'center', "$_ $Lang::tr{'graph'}");
&Graphs::makegraphbox("netovpnsrv.cgi",$_,"week");
&Graphs::makegraphbox("netovpnsrv.cgi",$_, "day");
&Header::closebox();
}
}else{