]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
graphs.pl: Fix HTML syntax error
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Apr 2017 13:26:57 +0000 (14:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Apr 2017 13:26:57 +0000 (14:26 +0100)
The missing ' caused that a different URL was called

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/graphs.pl

index 7b92992b631e814710182d33d768297abe27f02e..1bed49fa376a595b8c5e8ce114f77f2c1dd4817b 100644 (file)
@@ -112,7 +112,7 @@ sub makegraphbox {
        print " - ";
        print "<a href='".$_[0]."?".$_[1]."?year' target='".$_[1]."box'><b>".$Lang::tr{'year'}."</b></a>";
        print "<br></center>";
-       print "<iframe class='graph' src='".$_[0]."?".$_[1]."?".$_[2]." scrolling='no' frameborder='no' marginheight='0' name='".$_[1]."box'></iframe>";
+       print "<iframe class='graph' src='".$_[0]."?".$_[1]."?".$_[2]."' scrolling='no' frameborder='no' marginheight='0' name='".$_[1]."box'></iframe>";
 }
 
 # Generate the CPU Graph for the current period of time for values given by